Yeah, I'm all about checking your assumptions and defensive programming but k&r is hardly as fault because you throw garbage at a random function and it segfaults.
Maybe he should write a series on "Learn Ada the Hard Way"?
(apologies for hijacking an unrelated thread, but I have no way of contacting you ...)
During our discussion of the redis/windows release, you mentioned your team is about to release some library code around new-years day. Has that release happened? If so, where can I find it?
It's been up about a week or so.
(EDIT: we had it up on the first, technically.)
We're pushing out a significant update to that code in the next few days, as well as polishing the site with the bugtracker and things.
One of the big problems we ran into was function-level specialization for certain container classes--storing smart pointers in certain cases would screw up the reference counting. The code update will be fixing that.
Maybe he should write a series on "Learn Ada the Hard Way"?