At 12:54 PM 9/21/2011, Fred Cisin wrote:
There's a fine line that needs to be walked. The
complete beginner needs
to be given a chance to start off with success at something trivial
Windows programmers using Petzold's book weren't Comp Sci 101 students.
They were existing programmers who wanted to learn Windows. I'd argue
that showing proper error handling for a Windows function is just
as important as demonstrating how to call the function. So much of his
crap code was copied-and-pasted into place.
Why does it still feel like apps under Windows XP are running out of stack?
Twenty years later, their failure modes still feel like Windows apps
aren't checking return values on calls that might fail when allocating
special RAM.
- John