Hall of FameSteve Yegge200613 min readintro
Execution in the Kingdom of Nouns
Summary
Yegge uses a kingdom metaphor to contrast Java’s object‑centric style, where verbs are hidden behind noun objects, with functional languages that treat functions as first‑class citizens. The essay warns that over‑objectifying behavior can make code cumbersome.
- Java‑style OOP often hides actions behind noun‑like classes, creating extra boilerplate such as executor objects.
- Functional languages treat functions as first‑class citizens, eliminating the need for wrapper types and enabling direct composition.
- The metaphor illustrates how language design choices affect code ergonomics and developer productivity.
Engineers designing APIs or choosing languages should consider the trade‑offs between wrapping behavior in objects versus using first‑class functions.
3/10