Message Oriented Programming
summary
Claim: messaging, not classes, is the core design primitive and treating internal calls as networked messages forces clearer contracts. Concrete work: a Ruby example turns a bare divide method into a message-oriented protocol using module prepend to validate inputs and always return a result-and-error hash. Tools and precedents named: Ruby, JSON APIs, Erlang/actor model, microservices and Docker. Outcome: protocol code increases reliability at the cost of added complexity, and runtime message contracts catch edge cases tests miss.
AI-written summary · about
chapters (5)
- 0:00Start
- 15:29Protocols Are Valuable
- 22:52Trivial Example
- 23:47How would you fix it?
- 31:35How do we start?
related talks
36mThe Power of the Paradigm
43mGo Ahead, Make a Mess
01h 01mValue Oriented Programming. Part 1: You Say You Want To Write A Function
30mService Oriented Design in Practice
47mExpressing Design in Code: Architecturally-Evident Coding Patterns
33mPrototypes: Object-Orientation, Functionally
38mWhat Object-Oriented Programming Was Supposed to Be: Two Grumpy Old Guys’ Take on ...
45mBeyond design patterns and principles - writing good OO code
