Software Design for Flexibility

How to Avoid Programming Yourself into a Corner

448 pages

English language

Published Jan. 24, 2021 by MIT Press.

ISBN:
978-0-262-04549-0
Copied ISBN!

View on OpenLibrary

3 stars (1 review)

1 edition

Interesting ideas, less interesting examples

3 stars

This book was a really great read. It was hard for me to get through, but I'm really glad that I did in the end. I didn't do any of the exercises, because that would've meant I'd be reading it for the next 5 years most likely.

This book starts off with some very nice, but not uncommon ideas about writing flexible code. The initial example of writing a DSL in Scheme for regular expressions was really nice and engaging for me, but then after that it goes into combining arithmetics together. That is where I had some trouble, probably because I never actually got a Computer Science degree. It does have a few other nice examples that really struck home. And of course it is quite fun to see how a generic dispatch system is set up from scratch in Scheme, for example.

This book was a little bit …