News for hackers. Stuff that matters.
Re:Ask HN: Zed Shaw's critique of K&R by sverona on Sunday September 01, 2019 @11:10AM (#20852681)
I doubt my Google-fu is better than yours (and it looks like Zed has basically retracted what he said anyway by way of going so far to remove it from the Internet) but one of the salient points was definitely "some of the code in the book doesn't compile or do what it says it does."
Re:Ask HN: Zed Shaw's critique of K&R by klingonopera on Sunday September 01, 2019 @01:41PM (#20853520)
One of his criticisms was the (usual) critique of C's null-terminated char arrays (to be precise, that failure to include an null-terminator in a char array causes overflow, thus functions needed to be designed to accommodate such cases), and another was stylistic critique, one with which I agree with ZS, that optional curly braces should never be omitted, no matter how mundane.