Book cover of The Elements of Programming Style

Book description

This rounds out a collection of works by Kernighan. Each book of his covers a different aspect of software, in clear form with logical concepts. This book covers the look and feel of the code itself. As with the other works, some concepts have evolved as languages have evolved and…

When you buy books, we may earn a commission that helps keep our lights on (or join the rebellion as a member).

Why read it?

1 author picked The Elements of Programming Style as one of their favorite books. Why do they recommend it?

This tour de force probably couldn't get written today. Kernighan and Plauger take snippets of Fortran and PL/I code from real, published textbooks and find things to fix about them. Now, many of their specific concerns are relics of the "structured programming" wars of the 1960s (overuse of arithmetic IF and GOTO) or quirks of the programming languages in question (undeclared variables silently getting the wrong type); but this is educational in itself. If you wonder what's so bad about GOTO, or why we need to declare functions and variables before use, this book may enlighten you. And despite its…

From Arthur's list on budding C plus plus software engineer.

If you love The Elements of Programming Style...

Book cover of December on 5C4

December on 5C4 by Adam Strassberg,

Magical realism meets the magic of Christmas in this mix of Jewish, New Testament, and Santa stories–all reenacted in an urban psychiatric hospital!

On locked ward 5C4, Josh, a patient with many similarities to Jesus, is hospitalized concurrently with Nick, a patient with many similarities to Santa. The two argue…

Want books like The Elements of Programming Style?

Our community of 12,000+ authors has personally recommended 36 books like The Elements of Programming Style.

Browse books like The Elements of Programming Style

Book cover of Gödel, Escher, Bach: An Eternal Golden Braid
Book cover of The Design of Everyday Things
Book cover of The C Programming Language

Share your top 3 reads of 2025!

And get a beautiful page showing off your 3 favorite reads.

1,299

readers submitted
so far, will you?

📚 If you like The Elements of Programming Style, you might also like...

Book cover of Karl's War

Karl's War by Neil Spark,

Karl's War is a coming-of-age-meets-thriller set in Germany on the eve of Hitler coming to power. Karl – a reluctant poster boy for the Nazis – meets Jewish Ben and his world is up-turned.

Ben and his family flee to France. Karl joins the German army but deserts and finds…

Book cover of Girl in the Ashes

Girl in the Ashes by Douglas Weissman,

Odette Lefebvre is a serial killer stalking the shadows of Nazi-occupied Paris and must confront both the evils of those she murders and the darkness of her own past.

This young woman's childhood trauma shapes her complex journey through World War II France, where she walks a razor's edge…

5 book lists we think you will like!