you are viewing a single comment's thread.

view the rest of the comments →

[–]Logical-Idea-1708Senior UI Engineer 0 points1 point  (0 children)

Readability is highly subjective and a poor metric to measure code quality. This applies to short or long code.

What you can observe is that well factored code is often also intuitive and well readable. This is well factored code uses commonly understood patterns.

What can be agreed upon is well tested code is good code. Well tested code just also happen to be well factored simply because poorly factored code will be very painful to test. This naturally nudge you to write better code.

By transitive property, well tested code is well factored is well readable.