DEV Community

Discussion on: Code readability metrics?

Collapse
 
elmuerte profile image
Michiel Hendriks

I would not! Because there are no metrics that work.

I would define a code style, and that's the rule you live by. End of line!

I prefer tabs over spaces. If your project uses spaces, and I want to submit a patch, I uses spaces. If your project puts curly braces on new lines, and I want to submit a patch, I put curly braces on new lines.

Collapse
 
stereobooster profile image
stereobooster

I would not! Because there are no metrics that work.

yes yes, that is why I mentioned Goodhart’s law. This is exercise for imagination