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 113 - Data Naming

Jan 5, 20222 min read 51 views

Use entity domain names to model entity domain objects. TL;DR: Don't name your variables as Data. Problems Readability Bad Naming Solutions Use role suggesting names. Find names in the Bijection. Context We use 'data' a lot in our variables...

Code Smell 113 - Data Naming
Code Smell 112 - Testing Private Methods
Code Smell 111 - Modifying Collections While Traversing
Code Smell 110 - Switches With Defaults
Code Smell 109 - Automatic Properties
Code Smell 108 - Float Assertions