Code Smell 65 - Variables Named After Types
TL;DR: Don't name your variables with the accidental type
Problems
Declarative
Design for Change
Coupling to accidental implementation
Solutions
Rename your variable according to the role.
Sample Code
Wrong
https://gist.github.com/mcsee/00c30...
maximilianocontieri.com1 min read