Maximiliano Contieri - Software Design

Maximiliano Contieri - Software Design

Follow
homeDesignCode SmellsBloggingProductivityAboutSupport Me
Tag

clean code

#clean-code

More content

Read more stories on Hashnode


Articles with this tag

Code Smell 225 - Pass by Reference

Sep 25, 20233 min read 62 views

Pass by copy, pass by reference. which is better? · TL;DR: Beware of passing arguments by reference Problems Unexpected Results Side...

Code Smell 225 - Pass by Reference

Code Smell 224 - Deodorant Comments

Sep 10, 20232 min read 99 views

You use nice words to excuse bad code · TL;DR: Don't excuse bad code. Write a clean one! Problems Readability Solutions Rewrite the code and delete...

Code Smell 224 - Deodorant Comments

Code Smell 223 - Racial Naming

Sep 3, 20232 min read 172 views

Software evolves, and so does culture. · TL;DR: Avoid old terms like whitelists, blacklists, master, etc. Problems Racial Connotations Exclusionary...

Code Smell 223 - Racial Naming

Code Smell 222 - Comma Operator

Aug 28, 20232 min read 79 views

Don't abuse this fancy operator · TL;DR: Use comma operator just for loops Problems Readability Hidden Defects Solutions Avoid operator...

Code Smell 222 - Comma Operator

Code Smell 221 - Missing Break in Switch

Aug 6, 20232 min read 65 views

You abuse cases in switches and make subtle mistakes · TL;DR: Cases are GOTOs, but you might be missing them Problems Hidden...

Code Smell 221 - Missing Break in Switch

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