Book description
Using a simple computational task (term frequency) to illustrate different programming styles, Exercises in Programming Style helps readers understand the various ways of writing programs and designing systems. It is designed to be used in conjunction with code provided on an online repository. The book complements and explains the raw code in a way that is accessible to anyone who regularly practices the art of programming. The book can also be used in advanced programming courses in computer science and software engineering programs.
The book contains 33 different styles for writing the term frequency task. The styles are grouped into nine categories: historical, basic, function composition, objects and object interactions, reflection and metaprogramming, adversity, data-centric, concurrency, and interactivity. The author verbalizes the constraints in each style and explains the example programs. Each chapter first presents the constraints of the style, next shows an example program, and then gives a detailed explanation of the code. Most chapters also have sections focusing on the use of the style in systems design as well as sections describing the historical context in which the programming style emerged.
Table of contents
- Preliminaries
- Dedication
- Preface
- Prologue
- The Author
- I: Historical
- II: Basic Styles
- III: Function Composition
- IV: Objects and Object Interaction
- V: Reflection and Metaprogramming
- VI: Adversity
- VII: Data-Centric
- VIII: Concurrency
- IX: Interactivity
Product information
- Title: Exercises in Programming Style
- Author(s):
- Release date: November 2015
- Publisher(s): Chapman and Hall/CRC
- ISBN: 9781498766739
You might also like
book
Exercises for Programmers
When you write software, you need to be at the top of your game. Great programmers …
book
Building Parsers with Java™
Parser building is a powerful programming technique that opens a world of opportunity for designing how …
book
Draw Like an Artist: 100 Cartoon Animals
Draw Like An Artist: 100 Cartoon Animals takes readers step by step through drawing a variety …
book
More Effective C++
More than 150,000 copies in print! Praise for Scott Meyers’ first book, Effective C++: “I heartily …