3 ms·
For far more of same, there's Koenig's _C Traps and Pitfalls_. Heck, the article (http://www.literateprogramming.com/ctraps.pdf http://www.literateprogramming.c
by silentbicycle 17y ago
For far more of same, there's Koenig's _C Traps and Pitfalls_. Heck, the article (http://www.literateprogramming.com/ctraps.pdf http://www.literateprogramming.com/ctraps.pdf) that grew into the book is even free online.
Also, for anybody doing modern C work, I strongly recommend both Hanson's _C Interfaces and Implementations_ and Ierusalimschy's _Programming in Lua_, 2nd ed. The former nails writing good C libraries, and the latter covers one particular library that provides a portable, C-friendly, mature, efficient (http://luajit.org/ http://luajit.org/), ready-made scripting language that is a cleaner incarnation of JavaScript's "good parts".
Also, both are good reading. The former is a shining example of literate programming, and the latter is IMHO one of the best programming texts that wasn't co-written by Brian Kernighan. :)
- silentbicycle 17y ago("Also, also"? Oops. Missed that before the edit window closed.)
- tgerhard 17y agoHow refreshing!! As an editor, I must say that it warms my heart to know that someone out there actually proofreads his comments. Bravo! Also, thanks for the C Pitfalls link. It will prove quite useful in my current project. The original article isn't too bad, either.