Watch the Amazon Original series Cross now on Prime Video. Yours with Prime.
Buy used:
$59.99
to get FREE delivery Friday, November 22. Order within 2 hrs 15 mins
Or Non members get FREE delivery Sunday, November 24
Used: Acceptable | Details
Sold by Chilltown Media
Condition: Used: Acceptable
Comment: Book has some noticeable wear. There may be significant underlining, highlighting or markings. Binding may be coming loose. Ships direct from Amazon for prime or super saver (free) shipping.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the authors

See all
Something went wrong. Please try your request again later.

Elements of Programming Style Hardcover – January 1, 1974

4.4 4.4 out of 5 stars 48 ratings

There is a newer edition of this item:

The Elements of Programming Style, 2nd Edition
$14.59
(48)
Only 1 left in stock - order soon.
Elements of programming.

The Amazon Book Review
The Amazon Book Review
Book recommendations, author interviews, editors' picks, and more. Read it now

Product details

  • Publisher ‏ : ‎ McGraw-Hill (January 1, 1974)
  • Language ‏ : ‎ English
  • Hardcover ‏ : ‎ 147 pages
  • ISBN-10 ‏ : ‎ 0070341990
  • ISBN-13 ‏ : ‎ 978-0070341999
  • Item Weight ‏ : ‎ 8.2 ounces
  • Customer Reviews:
    4.4 4.4 out of 5 stars 48 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.4 out of 5 stars
48 global ratings

Top reviews from the United States

Reviewed in the United States on June 20, 2015
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 the normal size of software projects has continued to expand. But the book still has many relevant points and is an interesting read for those wanting to delve into how software development as a process has been growing and evolving over time.
2 people found this helpful
Report
Reviewed in the United States on August 18, 2019
Although I do not know Fortran language, the book is still Amazing and filled with gems. Would buy again
One person found this helpful
Report
Reviewed in the United States on September 17, 2015
Out of date, but still valid.
Reviewed in the United States on June 26, 2011
A must read for programmers interested in making their code more accessible to others. Examples and tips are not language specific and easily applied to your project.

This is one of those books I reach for when others ask what they can do to improve their craft.
2 people found this helpful
Report
Reviewed in the United States on May 3, 2013
I loved this when I was required to read it, and I've loved it every since. It if was in print or available on Kindle, I'd probably require my students to read it, too.
4 people found this helpful
Report
Reviewed in the United States on January 17, 2016
All programmers should read it, and own a copy.
Examples are in Fortran, but they apply to any language.
2 people found this helpful
Report
Reviewed in the United States on December 5, 2022
This book, published in 1974 and 1978 has a lot of really fine things to say.

But all the code examples are in FORTRAN or other relatively uncommon (today, if not then) programming language. This greatly limit's the book's usefulness for today's software developers, including this writer himself.
Reviewed in the United States on September 18, 2006
I dare say many rules Mr. Kernighan preached almost three decades ago are still NOT followed by the programming community at large. For examples, "Modularize. Use subroutines." "Each module should do one thing well." and "Don't patch bad code--rewrite it." A widespread, bad practice of 90% of the programmers today is still writing functions that are way too long! And they very often keep modifying existing functions--inserting new logic into them--to make already bad code even worse; they seldom give it a second thought about rewriting the whole damn crap!

Another set of rules from the book: "Make sure code and comments agree." and "Don't over-comment." Many programmers seldom do the first thing, resulting in widespread mismatches between the actual codes and surrounding comments. This applies to Java code as well. The comment style recommended by Java--that is, mixing code and comments that can be extracted into so-called self documentation--is an outright violation of the "don't over-comment" rule. (This is intended to be a criticism of Java-style comments.) Good code should document itself clearly; with perhaps a little help from judiciously added few comments that are not self-evident from the code itself.

The book uses FORTRAN and PL/I code examples. There are things that no longer apply today. But the fundamental rules and styles are still well applicable today and in the future.
10 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Andre
5.0 out of 5 stars Five Stars
Reviewed in Canada on February 11, 2016
as advertised
leroy
5.0 out of 5 stars Très bien
Reviewed in France on November 16, 2014
Très bien. Très content.
* * * * * * * * * * * * * * * *
Bien livré.Très bien. Très content.
* * * * * * * * * * * * * * * *
Bien livré.
Niels Müller Larsen
5.0 out of 5 stars Now I Own It
Reviewed in the United Kingdom on June 2, 2014
Excellent service! Highly recommended.
I have been looking for this book for a long time. It has academic value even now 36 years after publication.