|
|
This thread is locked; no one can reply to it.
|
1
2
|
| Installing Allegro with Dev-C++ |
|
David_at_wedu
Member #7,407
June 2006
|
Quote: Wanna bet it's called "Game programming all in one"? Might I ask what's so terrible about the book, or using a book like that to familiarize ones' self with game coding? I prefer self-study to schooling -- that's where I got my start doing web development close to 9 years ago -- and I've become very successful. Learning to code games is something that I've wanted to do since I was a kid. Jonathan Harbour's book is the second book I've started reading. The first one I read through was Beginning C++ Game Programming by Michael Dawson. |
|
gnolam
Member #2,030
March 2002
|
Quote: Might I ask what's so terrible about the book, or using a book like that to familiarize ones' self with game coding?
It's that specific book that's horrible, not books in general. In short: it contains a whole bunch of dodgy or just plain erroneous code, horrible programming practices, standards-breaking galore - and the author refuses to correct his mistakes. -- |
|
David_at_wedu
Member #7,407
June 2006
|
Quote: In short: it contains a whole bunch of dodgy or just plain erroneous code, horrible programming practices, standards-breaking galore - and the author refuses to correct his mistakes. I wouldn't know erroneous code (from a C standpoint) or standards-breaking (same story) if I saw them; I have my own programming practices already. What sort of stuff are you talking about? Any examples? |
|
Thomas Fjellstrom
Member #476
June 2000
|
Quote: Any examples? Telling you to decare os_type when allegro.h already does? -- |
|
David_at_wedu
Member #7,407
June 2006
|
Quote: Telling you to decare os_type when allegro.h already does?
Actually, I reread that part of the book earlier today, and it's just worded funny and I read it wrong. It just names that command as something that's predefined. So it was my mistake. I'm still curious what other sorts of things raise red flags to you folks. I mean you seem like a pretty enthusiastic, close-knit community of coders. There's got to be some merit to the hate on that specific book. I'd just like some perspective by example. Also, are there any books that you guys would recommend? I know there are tutorials on the site here, but I'm more the type that needs a tangible book to sit down and read; have trouble concentrating when reading off my notebook's LCD. |
|
Matthew Leverton
Supreme Loser
January 1999
|
Quote: There's got to be some merit to the hate on that specific book. In any beginner's book's defense... It will attract people who don't really know what they are doing. They will come to this site, ask a stupid question, and mention that they are using the book. Thus a bad association gets formed. I've never seen this book, so I cannot comment on its entirety. But the author isn't very friendly to criticism and has engaged in fights on many occassions (both here and on his own site) with those who dare to not adorn him with praise. So couple that with the fact that the book does suffer from (at least) some bad practices (eg, conio.h) and a dislike is formed. One example of his infamous advice is: Quote: Don't use the new version (4.2) of Allegro. It's a hokey mess. They've ruined Allegro and it has no future. Keep using the version described in the book, or go with one revision up, but not any further, because a bunch of "volunteers" have made a mess of it. That so-called "5.0" was scrapped entirely. So, don't trust new versions. Why anyway, when the last "good" revision in the book works fine?
|
|
David_at_wedu
Member #7,407
June 2006
|
I will say that I've encountered several instances where he uses depreciated functions, which I quickly just looked up here in the Allegro manual and found the updated function. I've noticed that Mr. Harbour and I do have very different coding styles, and I've seen a few instances where he did things that the initial book I read -- and personal experience -- have taught me never to do. But I'm aware of those bad habits, so with any luck, I'll be able to inject a bit of my logic into my studies to keep from picking them up. And yeah, I do totally agree that "All-in-One" or those "Teach Yourself Keeping in mind that as I said before, I read Beginning C++ Game Programming (by Michael Dawson) first. That coupled with my existing programming experience, I feel like I have some good building blocks. Where I go from here? Well, they sky's the limit, but I hope this community is as helpful with everything else as they've been on this particular topic. As an aside... You mentioned bad practices like conio. I did notice that while my initial read (Mr. Dawson's book) used iostream, Mr. Harbour's does use conio and stdlib. It seems to be very C-centric, where the other was strictly C++. I do kind of wish they both took the C++ approach, but I guess in all reality, the difference is just code structure. |
|
Thomas Fjellstrom
Member #476
June 2000
|
conio isn't even C centric, its DOS centric. -- |
|
|
1
2
|