- #1
Jamin2112
- 986
- 12
Here's the way that every programming book teaches a language:
Shouldn't programming books start out by giving readers a crash course on computer hardware, machine representations of numbers, compilers, etc., then explain how that relates to a single statement such as int x = 5;, then build off that understanding?
I find that it's extremely difficult to help people who are learning programming for the first time in college intro classes because I can't explain to them why they're getting an error or why one procedure is better than another. (And not an expert by any means.)
- Teach the reader how to print "Hello, world!" to the console/browser/etc.
- Tell the reader, "Don't worry what all this stuff means. It'll make sense when we get to the end of the book."
- Teach the reader how to make more advanced programs.
Shouldn't programming books start out by giving readers a crash course on computer hardware, machine representations of numbers, compilers, etc., then explain how that relates to a single statement such as int x = 5;, then build off that understanding?
I find that it's extremely difficult to help people who are learning programming for the first time in college intro classes because I can't explain to them why they're getting an error or why one procedure is better than another. (And not an expert by any means.)