Exercises in Programming Style

In the book club at work, we recently finished reading Exercises in Programming Style by Cristina Videira Lopes. The book consists of a simple program implemented in 33 different programming styles. It is a great way of showing the different styles, and the book was quite popular in the book club. The book is relatively new (it was published in 2014), and I don’t think it is as well-known as it deserves to be. So here is a summary and review of it.
The inspiration is a book from the 1940s by the French writer Raymond Queneau called Exercises in Style. In it, he tells the same short story in 99 different styles. Exercises in Programming Style uses the same concept but implements a short program in 33 different programming styles. Each style is defined by what constraints it imposes on the program.

Link: https://dzone.com/articles/exercises-in-programming-style?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev