or: How I Learned to Stop Worrying and Love the Compiler
James Dabbs
@
Immutable data
=
😻
nil
=
🙀
Prefer composition over inheritance
Gang of Four, Sandi Metz, et al.
–
Rack works because it's composable
It's composable because functional
}
}
Configuration
Execution
Mocking is required when our decomposition strategy has failed.
Eric Elliott
–
problem domain objects ⇄ database
domain objects → HTML / JSON
problem domain objects ⇄ database
domain objects → HTML / JSON
user input → domain objects
https://hanamirb.org
https://dry-rb.org
http://rom-rb.org
or: How I Learned to Stop Worrying and Love the Compiler
James Dabbs
@