3 ms·
I'm always curious when someone recommends reading The Elements of Programming Style. I had seen so many recommendations that one day I decided to dive into it
by smcl 6y ago
I'm always curious when someone recommends reading The Elements of Programming Style. I had seen so many recommendations that one day I decided to dive into it and read through it all myself. The book is a fine read and an interesting snapshot of what coding in 1974 was like. Seeing Kernighan and Plauger analysing and understanding coding issues and formulating early coding best practices is really interesting. However its value as a reference for modern day programmers is heavily overstated - you'll spend most of your time staring at big listings of early Fortran and PL/I code for one thing.
So read it, enjoy it, smile when you see guidance that's still applicable today ... but do not expect to achieve any sort of enlightenment. And be wary if anyone who tells you otherwise.
- runawaybottle 6y agoI’d be wary just from the fact someone tried to piggy back off the authoritative work of Elements of Style.
- akx 6y agoI don't know – Robert Bringhurst's Elements of Typographic Style is excellent.
- jholman 6y agoElements of Style is not authoritative. Widely cited, widely praised, widely criticized. Find an author you enjoy, subject their work to an analysis strictly driven by Elements of Style, and you'll find they fail to measure up. Even if the book in question is Charlotte's Web, by the way. I'm not saying the book has no value, but it's far from authoritative.