DeepRead
Cover of Exercises in Programming Style

Exercises in Programming Style

Cristina Videira Lopes · 2014

Programming and computer science › Programming classics and Java

#2,927 most recommended

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

024201620182020202220252019 peak · 3
This bookAverage book in Programming classics and Java

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…

    svat · 2019 · in Problem solving with Unix commands

  • 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…

    vram22 · 2019 · in Problem solving with Unix commands

What Open Library readers say

No Open Library reader has rated it yet.

  • 6 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

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

Explore in the mosaic

Read next: its neighbours on the mosaic