@aquamatthias @gkleiman @meichstedt here is the cake pattern version with modules as traits.
I kind of dig it, but am open to both versions. Stating dependencies explicitly through class arguments has its advantage in terms of readability. But I like the way you can mix in the modules as a one-liner via traits (see ChaosModule.scala)
@aquamatthias @gkleiman @meichstedt here is the cake pattern version with modules as traits.
I kind of dig it, but am open to both versions. Stating dependencies explicitly through class arguments has its advantage in terms of readability. But I like the way you can mix in the modules as a one-liner via traits (see ChaosModule.scala)
What do you guys think?