4 ms·
that sounds a lot like sharing code by inheritance as opposed to composition. which is unrelated to dispatching by the type of the first (or implicit) argument.
by joncampbelldev 10y ago
that sounds a lot like sharing code by inheritance as opposed to composition. which is unrelated to dispatching by the type of the first (or implicit) argument.
i personally would prefer to code to interfaces and keep hierarchy separate from behaviour
- joncampbelldev 10y agoperhaps I haven't felt your pain of rigid static designs because i mostly work in clojure, ymmv