
Exercises in Programming Style
Cristina Videira Lopes · 2014
Programming and computer science › Programming classics and Java
#2,927 most recommended
Hacker News
17
mentions by 14 people · top 19% of 15,732 books
Open Library
—
No ratings yet
6 want to read
Wikipedia
—
No article yet
About the book
The book takes one small task, counting the frequencies of words in a text and listing the most common ones, and writes it out in more than thirty different programming styles, from callbacks and object-oriented designs to functional code and shell pipelines. Each version is a complete, runnable rendition of the same simple program, so the subject is the range of ways a single problem can be expressed. Its central claim is that programming styles are conceptual tools, and that the knowledge built up over more than fifty years of programming is scattered and mostly passed on through mentoring and self-teaching. By placing many paradigms side by side on identical input, the book aims to give working programmers and students a broader view of those tools and of how a task's structure changes with the style used to express it. It presents this as a reference that practitioners can consult, not as an argument for any single style.
Written by Claude from what it knows of this book.
What Hacker News says 79% recommend · 0% critical
In the commenters’ own words
That's not a “discussion on the pros and cons of those two approaches”; that's a skewed story about just one part of a particular review of an exercise done…
Thanks. >(More on that here: https://news.ycombinator.com/item?id=18699718 ) >BTW, there's a wonderful book called “Exercises in Programming Style” (a review…
What Open Library readers say
No Open Library reader has rated it yet.
- 6 want to read
- 0 reading
- 0 have read
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
Details
- First published
- 2014
- ISBN
- 9780367350208
- Editions known
- 22 at Open Library
- Open Library
- OL20754451W
Computer programming
Read next: its neighbours on the mosaic
Literate programmingDonald Knuth · 1992 · recommended by 18 people · similar by subject and what people say about it
Designing object-oriented softwareRebecca Wirfs-Brock · 1990 · recommended by 1 person · similar by subject and what people say about it
Explore it!Elisabeth Hendrickson · 2013 · recommended by 1 person · similar by subject and what people say about it
The elements of programming styleBrian W. Kernighan · 1974 · recommended by 30 people · similar by subject and what people say about it
Exercises for ProgrammersBrian P. Hogan · 2015 · recommended by 6 people · similar by subject and what people say about it
The Practice of ProgrammingBrian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
Software toolsBrian W. Kernighan · 1976 · recommended by 21 people · similar by subject and what people say about it
Concepts, techniques, and models of computer programmingPeter Van Roy · 2004 · recommended by 70 people · similar by subject and what people say about it
Programming PearlsJon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it
The Elements of Computing SystemsNoam Nisan · 2005 · recommended by 204 people · similar by subject and what people say about it
Design concepts in programming languagesFranklyn A. Turbak · 2008 · recommended by 7 people · similar by subject and what people say about it
How to Design ProgramsMatthias Felleisen · 2001 · recommended by 277 people · similar by subject and what people say about it
Elements of programmingAlexander A. Stepanov · 2009 · recommended by 31 people · similar by subject and what people say about it
Thinking ForthLeo Brodie · 1984 · recommended by 77 people · 2 people recommended both
Software Design for FlexibilityChris Hanson · 2021 · recommended by 8 people · similar by subject and what people say about it
Beautiful CodeAndy Oram · 2007 · recommended by 48 people · similar by subject and what people say about it
Software tools in PascalBrian W. Kernighan · 1976 · recommended by 9 people · similar by subject and what people say about it
Essentials of CompilationJeremy G. Siek · 2023 · recommended by 17 people · similar by subject and what people say about it
Etudes for programmersCharles Wetherell · 1978 · recommended by 4 people · similar by subject and what people say about it
97 Things Every Programmer Should KnowKevlin Henney · 2010 · recommended by 6 people · similar by subject and what people say about it
Theoretical neurosciencePeter Dayan · 2001 · recommended by 3 people · loosely similar by subject
The art of computer programmingDonald Knuth · 1968 · recommended by 336 people · 2 people recommended both
Modern C++ DesignAndrei Alexandrescu · 2001 · recommended by 29 people · similar by subject and what people say about it
Pair programming illuminatedLaurie Williams · 2003 · recommended by 1 person · similar by subject and what people say about it