Sebastian Sellmairblog.sellmair.io·Mar 18, 2024Composition over Inheritance: My refactoring recipe"DRy", "KisS", "CLEAn", "SoLid". We all read these almost meaningless terms being thrown around in our code reviews. Whilst just mentioning some acronym never really seemed like a convincing argument to me, the intention of the reviewer was mostly al...Discuss·4 likes·4.0K readsKotlin
Chinmay Singhblog.singhch.in·Jan 7, 2024Why you should almost never use Abstract ClassesImagine rules like this one defining a landscape, where maintainable code lives in the valleys. As you add new behavior, it’s like rain landing on your code. Initially you put it wherever it lands. Then you refactor to allow the forces of good design...DiscussComposition over inheritance