Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Exercises in programming style
Lopes C., Chapman & Hall/CRC, Boca Raton, FL, 2014. 304 pp.  Type: Book (978-1-482227-37-6)
Date Reviewed: Oct 17 2014

This is a very good book on programming styles, a crucial aspect of programming that is not given enough importance. The author has taken her inspiration from the book by French writer Raymond Queneau. In his book, Queneau writes the same story in different literature styles. In her book, Lopes follows the same method; she codes and explains different coding styles in the same program.

The book has 33 chapters. Each chapter introduces a different style. The coding styles in the book are given very creative and explanatory names, such as kick forward, passive aggressive, pipeline, cookbook, and MapReduce.

Every chapter has six or seven sections: constraints, a program in the style being discussed, commentary, this style in systems design (only some chapters include this), historical notes, further reading, and a glossary. The chapter starts with the constraints of that programming style. In the second section, example code that is written in Perl with the corresponding programming style is presented. The third section provides commentary, which explains the style step by step, introducing the variables and the program glow. It also mentions which programming languages this style can be applied to and what kind of algorithms can be written with this style.

The fourth section informs the reader about the applicability of the style to systems. This section does not exist in the chapters that have programming styles that cannot be applied to systems design. The historical notes section gives information about the origins of the style. For example, the good old times style takes its origins from the Turing machine. The further reading section lists recommended papers and books about the style for readers who want more information. The glossary provides definitions of the words used in the chapter.

The language of the book is very clear and well written. Sentences are short and easy to understand. The examples in the book are from Pride and prejudice and the Gutenberg collection, which is valuable in making readers learn and remember great literature. In computer science (CS) books, naming conventions have always been kept very simple, such as “Hello World” programs or foo functions. This book goes beyond that tradition by naming the styles in a creative way (as mentioned above) and having literary examples.

I highly recommend this book to CS students and professionals. CS classes mostly focus on one programming language, such Java or C. With this approach, students put their energy into learning the syntax of the programming language and miss seeing the bigger picture that is generic to all programming languages, such as different coding styles. This book fills this gap by illustrating 33 programming styles.

More reviews about this item: Amazon

Reviewer:  Gulustan Dogan Review #: CR142845 (1502-0104)
Bookmark and Share
  Reviewer Selected
 
 
General (D.1.0 )
 
 
Software Architectures (D.2.11 )
 
Would you recommend this review?
yes
no
Other reviews under "General": Date
The book of R: a first course in programming and statistics
Davies T.,  No Starch Press, San Francisco, CA, 2015. 432 pp. Type: Book (978-1-593276-51-5), Reviews: (2 of 2)
May 10 2017
Android Studio game development: concepts and design
DiMarzio J.,  Apress, New York, NY, 2016. 95 pp. Type: Book (978-1-484217-17-7)
Mar 1 2017
Beginning Ruby: from novice to professional (3rd ed.)
Cooper P.,  Apress, New York, NY, 2016. 585 pp. Type: Book (978-1-484212-79-0)
Dec 16 2016
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright © 2000-2017 ThinkLoud, Inc.
Terms of Use
| Privacy Policy