Maximiliano Contieri - Software Design

Maximiliano Contieri - Software Design

Follow
homeDesignCode SmellsBloggingProductivityAboutSupport Me
Tag

software development

#software-development

More content

Read more stories on Hashnode


Articles with this tag

Code Smell 220 - Return Tuple

Aug 2, 20232 min read 97 views

You need to return more than one object · TL;DR: Don't return multiple values. Problems Coupling Missing...

Code Smell 220 - Return Tuple

Code Smell 219 - Looping from index 0

Jul 24, 20232 min read 202 views

Counting from zero seems natural. Doesn't it? · TL;DR: Start counting from one instead of zero. Like humans do. Problems Bijection from real-world...

Code Smell 219 - Looping from index 0

Code Smell 217 - Empty Implementation

Jun 18, 20232 min read 109 views

You create empty methods instead of failing TL;DR: Don't fill in methods to comply Problems Fail Fast Principle Violation Solutions Throw an...

Code Smell 217 - Empty Implementation

Code Smell 216 - Fat Interface

Jun 4, 20232 min read 166 views

You should not define too much behavior together · TL;DR: Split your interfaces Problems Interface Segregation Principle...

Code Smell 216 - Fat Interface

Code Smell 214 - Duplicate Parameter Names

May 26, 20232 min read 132 views

Two arguments of the same type. Two equal names · TL;DR: Turn on Strict Checks Problems Unexpected errors Ambiguity The Least Surprise Principle...

Code Smell 214 - Duplicate Parameter Names

Code Smell 213 - Hoisting

May 18, 20232 min read 140 views

You can prevent undefined TL;DR: Declare your variables and look after the scope Problems Readability Least Surprise Principle violation Variable...

Code Smell 213 - Hoisting