3 ms·
>That's an abstraction more easily and succinctly solved by higher-order functions. Definitely a legitimate approach. In my mind, it seems to be describing Dep
by dmux 7y ago
>That's an abstraction more easily and succinctly solved by higher-order functions.
Definitely a legitimate approach. In my mind, it seems to be describing Dependency Injection or some type of Strategy Pattern. The activity is defined using "roles" (interfaces) in some use-case class and then implementations of those interfaces are injected.
- wangvnn 7y ago"solved by higher-order functions" Then C is enough for everything. What a waste !!!