DEV Community

Discussion on: Code readability metrics?

Collapse
 
domas profile image
Domas Juodele

-self explanatory, which mean minimum comments.
-code can be read, not investigated.
-methods split by functional purpose, and should have single purpose the same applies for classes

code written for a human not for a machine :)

Collapse
 
stereobooster profile image
stereobooster

code can be read, not investigated.

Yes, but what does it mean? How to measure it?

methods split by functional purpose, and should have single purpose the same applies for classes

Sometimes those super tiny functions hard to read, you need constantly jump back and forward to read what the function does and you lose the context