This is the book I'm working on about mental models for better code. It's getting very close to complete, and there is a 150 page free sample. The book is all about making explicit the structure in code, and the structure in the process of creating code, and using the structure to produce code more effectively. In more academic jargon, it's about metacognitive strategies. I would love any feedback y'all have.
Open functionalprogrammingstrategies.comfunctionalprogrammingstrategies.com
Functional Programming Strategies
A book teaching mental models for functional programming, with examples in Scala. Covers data/codata, type classes, dualities, and interpreters.
Visit project- First shared
- Jul 1, 2026
- HN activity
- 51
Show HN@noelwelshJul 1, 2026
Show HN: Functional Programming Strategies, the book I'm working on
Community