Re:Java: True Delegation with Links and Parts
by eternalban on Friday February 17, 2023 @11:25AM
(#34836666)
Isn't this just dependency injection via compiler?
[ Parent
| on HN ]
Re:Java: True Delegation with Links and Parts
by clownvorld on Friday February 17, 2023 @11:33AM
(#34836786)
Well, it make dependency injection much easier in Java. But true delegation is much more, it offers a nice decoupled alternative over implementation inheritance.