--

And that's exactly what you should do. Delegates allow you to write less code and quickly add features to your classes and delegate logic. Having Base classes in your codebase is adding everything what's in base to the things that extend them, making your code blocked by everything inside. Composition > Base classes

--

--

Patryk Kosieradzki
Patryk Kosieradzki

Written by Patryk Kosieradzki

Senior Android &iOS Engineer @ Moss, based in Warsaw, Poland

No responses yet