Tom Ritchford
Sep 23, 2023

--

Some officious time-waster dreamed that up. "Sorry, that 101 line class won't go!"

Better: "If your class or function is more than a couple of pages long, it might be possible to make it more readable or testable by splitting it up."

This both turns it into a suggestion, and points out what it is you are trying to improve - correctness!, in the form of readability and of testability.

--

--

No responses yet