Jump to ratings and reviews
Rate this book

The Elements of C Programming Style

Rate this book
Write lean, mean C code that screams. Give yourself a competitive edge with over 100 tested rules of thumb for producing clear, concise, elegantly coded C programs. In The Elements of C Programming Style, by Jay Ranade and Alan Nash, you get savvy insider programming techniques and shortcuts seasoned pros use to unify coding practices, enforce high-quality standards and keep development teams focused. Regardless of your experience, you'll see how to little-known coding tricks to save days of programming time; powerful C Libary features to help you work more effectively; key design rules even the most experienced programmers overlook; often neglected testing routines that catch bugs before they hatch; foolproof debugging methods; master-programmer techniques for optimizing speed, memory and readability; best ways to utilize comments, data objects, numbers and I/O; expert guidelines for maximizing expressions, statements, functions, parameters, arrays, pointers and the preprocessor; much more.

352 pages, Paperback

First published October 1, 1992

8 people want to read

About the author

Jay Ranade

18 books

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (50%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
1 (50%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Liquidlasagna.
2,981 reviews109 followers
February 9, 2022
Very well written

One of the best written books about software development in general, and C in particular, that I've ever read. Lots of common sense.

Lee Ivy

---

Essential guidance for C/C++/Java programming

Many of the short articles in this book could form the basis for C programming standards of a project team or a whole organization. 95% of the authors recommended techniques are beyond controversy.

The perceptive reader will notice a few, however, that conflict with modern practice in C++ and Java (e.g. mixing boolean and integer expressions).

Every programmer using C, C++, or Java should be acquainted with everything in this book and either comply with it or have a good reason for not doing so.

[eight out of ten rating]

Conrad H. Weisert

---

I really liked this book...

This book was very readable and concise. It gave small sample code throughout the book and included helpful macros for debugging.

I recommend this book to anyone who understands C code but is unsatisfied with how readable thier code is. This book is like a grammar book for those who want to write more concise and clear code.

James Moliere

---

Well written, balanced look at the topic. Excellent tips.

This book goes beyond simple rules and gives sound reasons (and drawbacks) for each element of style it show.

bmilton
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.