Write any program in 7 steps: type systems, DSLs, then generate implementation
hargup13 · x · 2026-11-28
A forwarded programming methodology thread outlines a 7-step approach:
- Build a type system that represents your domain logic
- Create a DSL as a computation model that inhabits only allowed states of that type system
- Specify your problem as a type signature
- Generate the implementation
The core idea: turn programming into designing domain languages where illegal states are unrepresentable, then let generation handle the rest.
More from coding & agent
- Agent traffic is now 3x human traffic on eugeneyan's site — eugeneyan · 2026-11-28
- No self-hosted Vercel equivalent exists yet for enterprise agent infra — verrsane · 2026-11-28
- 70% of enterprise automation is large-scale classification, and Jev excels at it — verrsane · 2026-11-28
- The fall of YAML/JSON agent builders: models are now good enough for code — verrsane · 2026-11-28
- 'Is Claude sabotaging your code or are you just stupid?' The AI coding meme hitting home — saurabh_shah2 · 2026-11-28
- Eraser MCP Server generates and auto-fixes diagrams on Eraser.io via API — modelcontextprotocol · 2026-11-28