Clean Code says to avoid protected variables
- by Matsemann
I have a question to a statement in Clean Code. I don't fully understand the reasoning to why we should avoid protected variables.
It's from the chapter about Formatting, section about Vertical Distance:
Concepts that are closely related should be kept vertically close to
each other. Clearly this rule doesn't work for concepts that belong in…