Follow
Series

Code Smells

In this series, we will see several symptoms and situations that make us doubt the quality of our developments. We will present possible solutions. Most are just clues. They are no hard rules.

Articles in this series

Code Smell 194 - Missing Interval

Feb 4, 20232 min read 25 views

From date should be lower than to date · TL;DR: Intervals are there. Why use plain dates? Problems Missing abstraction Duplicated Code Not enforced...

Code Smell 194 - Missing Interval
Code Smell 193 - Switch Instead of Formula
Code Smell 192 - Optional Attributes
Code Smell 191 - Misplaced Responsibility
Code Smell 190 - Unnecessary Properties
Code Smell 188 - Redundant Parameter Names