Prev: Keyboards
Next: web application load xls file ?
From: Arne Vajhøj on 23 Apr 2010 19:23 On 23-04-2010 15:26, Tom Anderson wrote: > On Fri, 23 Apr 2010, Lew wrote: >> Tom Anderson wrote: >>> You can download Thinking In Java for free, and people tell me that's >>> pretty good: >>> >>> http://www.mindview.net/Books/TIJ/ >> >> I somewhat disagree that it's a good book. >> >> I got a lot out of it when I first learned Java, so in that it might >> help the OP. However its approach diverges somewhat from mainstream >> Java best practices, so it could engender bad habits that are hard to >> correct later on. > > Could you expand on that? In what ways does it diverge? I have not read the book, but Bruce Eckel is known for not liking checked exceptions. Arne
From: Lew on 23 Apr 2010 19:31 Tom Anderson wrote: >>> You can download Thinking In Java for free, and people tell me that's >>> pretty good: >>> >>> http://www.mindview.net/Books/TIJ/ Lew wrote: >> I somewhat disagree that it's a good book. >> >> I got a lot out of it when I first learned Java, so in that it might >> help the OP. However its approach diverges somewhat from mainstream >> Java best practices, so it could engender bad habits that are hard to >> correct later on. Tom Anderson wrote: > Could you expand on that? In what ways does it diverge? Well, it's been a lot of years since I read it, so I had to go back and look at it again. I notice right away that he plunges into a discussion of inheritance with a section entitled "Inheritance: reusing the interface" in which he does not mention interfaces as such, but talks about base classes. Yes, concrete classes. That isn't thinking in Java at all. He comes around to interfaces as an afterthought, and presents them as something that "takes the concept of an abstract class one step further". This is backwards - the presentation should begin with interfaces and flow to concrete classes and instances. It's also not best-practice thinking. It comes so close - talking about types and /is-a/ vs. /has-a/ and all - but the notion of inheritance these days is secondary to the notion of interface implementation. You don't really think in Java most powerfully until you grok type analysis and programming to the interface, and IMHO introductory material should begin with that. Don't misconstrue. I don't hate the book. I just don't think it establishes the correct foundational viewpoint for the most effective Java. But it does come close, and most of what it says is sound. Like I say, /Thinking in Java/ is an OK beginner's book but it establishes some thought patterns that aren't really correct for Java programming, belying the book's name. -- Lew
From: Lew on 23 Apr 2010 19:35 blumstein.clarence(a)gmail.com says... >> I have no money to buy any about java, but I want to learn java, what >> should I do when I have no money to buy a good book? Pitch wrote: > You don't need books to learn any language. Well, aren't you Mr. Helpful? That is, after all, the very premise of the OP's question. The point of the question was to ask what to do instead, which, thank goodness, at least others in this thread have addressed. -- Lew
From: Pitch on 23 Apr 2010 20:14 In article <hqtas7$e95$2(a)news.albasani.net>, noone(a)lewscanon.com says... > > blumstein.clarence(a)gmail.com says... > >> I have no money to buy any about java, but I want to learn java, what > >> should I do when I have no money to buy a good book? > > Pitch wrote: > > You don't need books to learn any language. > > Well, aren't you Mr. Helpful? Of course I am, I saved him a lot of money. There is enough helpful people on the net and one just needs to ask. -- stirr your cofee properly
From: Lew on 23 Apr 2010 20:23
blumstein.clarence(a)gmail.com says... >>>> I have no money to buy any about java [sic], but I want to learn java [sic], >>>> what should I do when I have no money to buy a good book? Pitch wrote: >>> You don't need books to learn any language. Lew wrote: >> Well, aren't you Mr. Helpful? Pitch wrote: > Of course I am, I saved him a lot of money. You're taking credit for what the OP expressed in the first place? My, my. > There is [sic] enough helpful people on the net and one just needs to ask. And you don't feel the need to be one of them, I see. -- Lew |