Everything Is a Trap
summary
Libraries and frameworks become "traps" when they change or no longer fit; the talk presents concrete defenses: encapsulate dependencies with adapters, define contracts and verify them with unit tests-as-contracts, and use foldable repositories (in-memory implementations for tests and to swap backends like Postgres, MySQL, Mongo, Cassandra). It advocates hexagonal architecture, TDD, tiny components and virtualenvs, and demonstrates that an in-memory repository makes tests orders of magnitude faster and eases backend replacement.
AI-written summary · about
chapters (7)
- 0:00Start
- 2:13Adapters for external libraries
- 4:14Set contracts for the adapters
- 5:24Isolate external interactions in repositories
- 8:27Set contracts for the repositories
- 9:54Divide and conquer
- 14:13Write Clean Code
related talks
30mTips for Library Development (from a Startup Developer)
46mCode is not important... or is it?
45mRecovering from Enterprise
46mThe Zen of Programming. A personal journey towards writing beautiful code.
31mDangerous Minds: How we're getting developer education wrong
42mThe Monster Coming Over The Hill
52mThe Zen of Programming
16mHow to Think Like a Programmer
