News for hackers. Stuff that matters.
Re:Ask HN: Zed Shaw's critique of K&R by jrugk on Sunday September 01, 2019 @02:33PM (#20853883)
What he probably wants is this: http://archive.is/euOjX
Re:Ask HN: Zed Shaw's critique of K&R by gilesgate on Sunday September 01, 2019 @08:21PM (#20855846)
Yes, that must be it. As I understand it, the deconstruction was included in the working copy of his book before Chapter 1, and then later removed, correct?

Edit: Ah, incorrect. He actually intended it to be a chapter-by-chapter deconstruction but never completed it.

Re:Ask HN: Zed Shaw's critique of K&R by klingonopera on Monday September 02, 2019 @05:36AM (#20857893)
Are we sure he never completed it? Or are these just missing parts from the (pirated? preview?) online PDFs?

Because if that's it, then it was just two points he was making, 1. Null-terminated char arrays are "defective"/unsafe, and 2. Don't omit curly braces, for which he seems to have received a lot of backlash, even though those are quite valid points. I'm guessing it may have something to do with taking it up against the grandfathers of C and his rather ...hands-on writing style?

Critique 1. isn't actually that controversial, and does have merit[1], and 2. is a stylistic decision, that even John Carmack[2] would agree on.

[1]: https://news.ycombinator.com/item?id=20792938

[2]: See "Spacing" in https://kotaku.com/the-exceptional-beauty-of-doom-3s-source-...