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 These Blue Mountains

These Blue Mountains by Sarah Loudin Thomas,

A moving story of love, betrayal, and the enduring power of hope in the face of darkness.

German pianist Hedda Schlagel's world collapsed when her fiancé, Fritz, vanished after being sent to an enemy alien camp in the United States during the Great War. Fifteen years later, in 1932, Hedda…

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,366

readers submitted
so far, will you?

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

Book cover of Marriage and Fatherhood in the Nazi SS

Marriage and Fatherhood in the Nazi SS by Amy Carney,

When I was writing this book, several of my friends jokingly called it the Nazi baby book, with one insisting it would make a great title. Nazi Babies – admittedly, that is a catchy title, but that’s not exactly what my book is about. SS babies would be slightly more…

Book cover of A Forgivable Indecision

A Forgivable Indecision by Shawn Jennings,

In 1913, a 15-year-old pregnant girl was found dead of apparent suicide. Dr. James Wilson, a new graduate and the first doctor ever to start a practice in this rural town, feels guilty over her death because of his delayed intervention.

He knows Bessie was raped by one of her…

5 book lists we think you will like!