#design-patterns
Read more stories on Hashnode
Articles with this tag
Null Objects are great alternatives to The Billion Dollar Mistake. Sometimes we don't need them TL;DR: Don't abuse patterns. Even...
Nested IFs and Elses are very hard to read and test TL;DR: Avoid nested IFs. Even Better: Avoid ALL IFs Problems Readability Solutions Extract...
Yet another premature optimization pattern TL;DR: Do not use lazy initialization. Use an object provider instead. Problems Surprising Side...
Searching for a concrete method implementation? Go back and forth, up and down. TL;DR: Don't ab(use) hierarchies. Problems Deep...
We learned loops back in school. But enumerators and iterators are the next generation. TL;DR: Don't use indices while iterating. Prefer Higher level...
Patterns are awesome. With great powers comes great responsibility. TL;DR: Don't abuse patterns. Problems Over...