|
-
Nov 29th, 2002, 02:05 PM
#1
Thread Starter
Addicted Member
Game Programming Books - Code samples
Just taking an informal survey here - when you see code in a book, would you rather see a couple of pages of code then the explanation for the whole thing or a chunk along with it's explanation? Another possiblity - if the code is a class what would you think about all of the members of the class and their explanation, then the class functions and their explanation. Or some other totally different layout. What works best for you?
-
Nov 29th, 2002, 02:08 PM
#2
Frenzied Member
Chunks of code are pretty boring, in my opinion. Thats what the CD is for . Id rather see just the relevent snippets, and an explaination. More then likely, ill just read the explaination, and refer to the code if i want to see how they implemented it.
Z.
-
Nov 29th, 2002, 02:14 PM
#3
Are you making a book??? For me this works best.
- First explanation of what the code is supposed to do.
- Then The code with normal VB comments.
- Then more in detail what each part of the code does. Like difficult lines of code. And explanation of keywords and so on...
About classes I would probably prefer the same thing as above...
PS: And remember to never use slang or try to make your English difficult. That’s really irritating for me and probably everybody else that speak an other language daily...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|