Exercises in Style
summary
Implements the same term-frequency program under many concrete constraints to reveal how style changes design, tooling and performance: short code-golf Python versions run tiny but take ~5 minutes; a tabular variant uses SQLite and SQL queries; a map-reduce parallel split/merge variant chunks the file and reduces workers; examples include monolithic, procedural, functional, continuation, object, publish/subscribe and Hadoop-like styles. Goal is term-frequency in 33+ styles with code on Python + GitHub repo and rapid community contributions validating the approach.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:32Programming Styles
- 11:15Exercises in Style
- 23:09Fewer Lines of Code Is Better
- 27:35Constraints
- 28:49Candy Factory Style
- 34:25Main Characteristics
- 35:04The Kingdom of Noun Style
- 37:02Split Words
- 37:21Apply a Map Function
- 39:13Inverse Multiplexer
- 46:06How Do You Distinguish between Style and Patents
related talks
35mReviving the art of software design
10mSporq: An Interactive Environment for Exploring Code Using Query-by-Example
31mOrganizing and Maintaining Your Code-Scape with Python
46mThe Zen of Programming. A personal journey towards writing beautiful code.
01h 01mSoftware Design in the 21st Century
45mStructural Design: The Ancient Secret of Simple, Fast Code
46mUniversal Patterns of Evolution
01h 03mTactical Design
