Demo of the (in)famous Cake Pattern guided by Cake Pattern: The Bakery from the Black Lagoon video.
- Split codebase into top-level traits (a trait per file)
- Use
extends
andwith
to construct modules. Dependencies are therefore:- explicit
- documented
- type-checked
- Use inner objects for namespacing (avoids name clashes)