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…

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 13,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 2026!

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

179

readers submitted
so far, will you?

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

Book cover of Sexy Selfie Nation: Standing Up for Yourself in Today's Toxic, Sexist Culture

Sexy Selfie Nation by Leora Tanenbaum,

The problem is not with the actions young women take but with the toxic, sexist conditions they are responding to.

Tanenbaum found, based on six years of interviews with young people ages 14-30, that young women are navigating a culture littered with gendered dress codes, revenge porn, and sexually explicit…

Book cover of In This Together: Connecting with Your Community to Combat the Climate Crisis

In This Together by Marianne E. Krasny,

In This Together explores how we can harness our social networks to make a real impact fighting the climate crisis. Against notions of the lone environmental crusader, Marianne E. Krasny shows us the power of "network climate action"—the idea that our own ordinary acts can influence and inspire those close…

5 book lists we think you will like!