Clean Code Tip: F.I.R.S.T. acronym for better unit tests
Good unit tests have some properties in common: they are Fast, Independent, Repeatable, Self-validating, and Thorough. In a word: FIRST!

Search for a command to run...
Articles tagged with #clean-code
Good unit tests have some properties in common: they are Fast, Independent, Repeatable, Self-validating, and Thorough. In a word: FIRST!

DRY is a fundamental principle in software development. Should you apply it blindly?

Following a coherent standard, even for parameters order, helps developers when writing and, even more, reading code. How to do that?

When a function has too many parameters, it's clear that something is wrong. But... why?

Duplication is not only about lines of code, but also about data usage and meaning. You should avoid that kind of duplication

Smaller functions help us write better code, but have also a nice side effect: they help us to understand where an exception was thrown.
