DEV Community

Discussion on: Code style rules that are actually useful

Collapse
 
vonheikemen profile image
Heiker

Hasn't been a problem for me yet. Code is still fairly readible.

Guess I'm just trying not to repeat the mistake that I see in the legacy apps the I have to mantain at work. In the codebase that I deal with daily is actually common to see methods that have more than 500 lines, and that's just wrong. People are actually scare to touch one of those methods.

The goal is to write functions that anyone can read and have the confidence that they can change stuff, make it better, or delete the whole thing if it's no longer necessary.