The Elements of Programming Style

168 pages

English language

Published Nov. 10, 1978 by McGraw-Hill.

ISBN:
978-0-07-034207-1
Copied ISBN!

View on OpenLibrary

4 stars (2 reviews)

2 editions

Review of 'The Elements of Programming Style' on 'Goodreads'

4 stars

This book will turn 50 soon. And some parts of it haven't aged that well. It uses Fortran (the one where arithmetic if was the norm, and logic if was the new thing) and PL/I. But that doesn't matter for the most part. What matters is the approach and the rules. The approach is to take a piece of code, analyse its failings, improve it, and derive a general rule. And for the most part the rules are still valid today. Let that sink in. The half life of technical books these day is a few years. This book's rules are mostly applicable after half a century. And that is remarkable in itself.

There are other notable things about it though. If you've read any other book by Kernighan ("Software Tools" and its Pascal version, "The Practice of Programming") you'll recognise his later style in incipient form. It's a rare …

Subjects

  • Computer programming.

Lists