Ask HN: Zed Shaw's critique of K&R
I've tried tracking that critique down to no avail. A link to Shaw's website that I found wasn't accessible,[0] nor was any archive.org copy of it.[1]
Does anyone happen to have a copy of or a link to it? I'd be interested in reading through it.
(Disclaimer: I'm not interested in refueling a debate, I just would like to read the critique or find out its salient points.)
[0] http://c.learncodethehardway.org/book/krcritique.html
[1] http://web.archive.org/web/*/c.learncodethehardway.org/book/krcritique.html
[+] [-] brudgers|6 years ago|reply
A weakness of this essay is it jumbles pedagogical and engineering considerations together for dramatic effect. The defensive code Shaw does not find in K&R is only justified if crashing is both likely and worth the effort to prevent. YAGNI and "let it crash" are alternative engineering approaches.
The strength of Shaw's essay is that the grappling with the absence of defensive programming motivated Learn C the Hard Way to introduce Valgrind and Make right away. And the outrage probably adrenaline fueled Shaw's writing. All the controversy was consistent with Shaw's public image at the time, to boot. But in the end, the essay, like many of the period, lacks nuance. Their fading searchability is probably a sign of Shaw's recognition.
I think Learn C the Hard Way is better for Shaw having written the essay and I think his book is a pretty good introduction to C programming in part because it introduces Make and Valgrind and eschews IDE's. K&R is also good, but it's written with the assumption that the reader is ok learning from material written in a documentary style. That's less common today than four decades ago.
[+] [-] nenadg|6 years ago|reply
[+] [-] jrugk|6 years ago|reply
[+] [-] jdmoreira|6 years ago|reply
[+] [-] catacombs|6 years ago|reply
Whenever I see "Zed Shaw," I steer clear.
[+] [-] unknown|6 years ago|reply
[deleted]
[+] [-] unknown|6 years ago|reply
[deleted]
[+] [-] sverona|6 years ago|reply
[+] [-] klingonopera|6 years ago|reply
[+] [-] yesenadam|6 years ago|reply
http://gen.lib.rus.ec/search.php?req=Learn+C+the+Hard+Way
[+] [-] antiquark|6 years ago|reply
[+] [-] klingonopera|6 years ago|reply
[+] [-] psv1|6 years ago|reply
[+] [-] Nextgrid|6 years ago|reply