Maximiliano Contieri - Software Design

Maximiliano Contieri - Software Design

Follow
homeDesignCode SmellsBloggingProductivityAboutSupport Me
Tag

2Articles1Week

#2articles1week

More content

Read more stories on Hashnode


Articles with this tag

Code Smell 80 - Nested Try/Catch

Jun 16, 20212 min read 523 views

Exceptions are a great way of separating the happy path from the trouble path. But we tend to over-complicate our solutions. TL;DR: Don't nest...

Code Smell 80 - Nested Try/Catch

Code Smell 71 - Magic Floats Disguised as Decimals

May 24, 20212 min read 410 views

TL;DR: Don't trust numbers on immature languages like JavaScript. Problems Principle of Least Surprise Violation Accidental Complexity Wrong...

Code Smell 71 - Magic Floats Disguised as Decimals

Code Smell 70 - Anemic Model Generators

May 18, 20212 min read 484 views

Anemic Models are the problem. Anemic Model Generators are the Meta Problem. TL;DR: Do not create anemic objects. Much less with automatic...

Code Smell 70 - Anemic Model Generators

Code Smell 68 - Getters

Apr 29, 20211 min read 664 views

Getting things is widespread and safe. But it is a very bad practice. Problems Naming Information Hiding Coupling Encapsulation...

Code Smell 68 - Getters

My Best Short Productivity Tips

Apr 28, 20212 min read 1.3K views

This is part of productivity series You can read previous tips here and here 1- Lazy people automate 🤖 Try to avoid repetitive tasks. Use scripts,...

My Best Short Productivity Tips

Code Smell 67 - Middle Man

Apr 12, 20211 min read 824 views

Let's break Demeter's Law. · Problems Unnecessary Indirection Empty Classes Readability Solutions Remove Middle man. Sample...

Code Smell 67 - Middle Man