#clean-code
Read more stories on Hashnode
Articles with this tag
Good unit tests have some properties in common: they are Fast, Independent, Repeatable, Self-validating, and Thorough. In a word: FIRST! · FIRST is an...
DRY is a fundamental principle in software development. Should you apply it blindly? · You've probably heard about the DRY principle: Don't Repeat...
Following a coherent standard, even for parameters order, helps developers when writing and, even more, reading code. How to do that? · If you have a set...
When a function has too many parameters, it's clear that something is wrong. But... why? · Many times, we tend to add too many parameters to a function....
Duplication is not only about lines of code, but also about data usage and meaning. You should avoid that kind of duplication · Duplication is not only...
Smaller functions help us write better code, but have also a nice side effect: they help us to understand where an exception was thrown. · As I always...