4 ms·
You don't like code reuse?
by belter 3y ago
You don't like code reuse?
- insanitybit 3y agoThat question seems blatantly disingenuous.
- akavi 3y agoLove it, and love using plain ol' functions for it
- dgb23 3y agoInheritance is not necessary for code reuse. All you really need for that is named procedures. A way to combine modules and different files certainly helps too. Type hierarchies can even hinder code reuse, because you can’t just pick the stuff you actually need.
- caconym_ 3y agoComposition > inheritance.