#polymorphism

[ follow ]
#php
fromHackernoon
2 years ago

Refactoring 029 - How to Replace NULL With Collection | HackerNoon

Replacing nullable optional attributes with empty collections helps eliminate null checks in code, significantly enhancing maintainability and leveraging polymorphism in design.
Java
[ Load more ]