Maximiliano Contieri - Software Design

Maximiliano Contieri - Software Design

Follow
homeDesignCode SmellsBloggingProductivityAboutSupport Me
Tag

design patterns

#design-patterns

More content

Read more stories on Hashnode


Articles with this tag

Code Smell 126 - Fake Null Object

Apr 2, 20223 min read 654 views

Null Objects are great alternatives to The Billion Dollar Mistake. Sometimes we don't need them TL;DR: Don't abuse patterns. Even...

Code Smell 126 - Fake Null Object

Code Smell 102 - Arrow Code

Nov 15, 20212 min read 727 views

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...

Code Smell 102 - Arrow Code

Code Smell 88 - Lazy Initialization

Sep 29, 20212 min read 429 views

Yet another premature optimization pattern TL;DR: Do not use lazy initialization. Use an object provider instead. Problems Surprising Side...

Code Smell 88 - Lazy Initialization

Code Smell 58 - Yo-yo Problem

Jan 24, 20212 min read 930 views

Searching for a concrete method implementation? Go back and forth, up and down. TL;DR: Don't ab(use) hierarchies. Problems Deep...

Code Smell 58 - Yo-yo Problem

Code Smell 53 - Explicit Iteration

Jan 5, 20212 min read 578 views

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...

Code Smell 53 - Explicit Iteration

Code Smell 25 - Pattern Abusers

Nov 15, 20202 min read 504 views

Patterns are awesome. With great powers comes great responsibility. TL;DR: Don't abuse patterns. Problems Over...

Code Smell 25 - Pattern Abusers