Remix.run Logo
snarfy 2 hours ago

## HARD RULE - design scope must always be maintained and no function should ever be longer than XXX lines and no class should have more than Y methods. Create new classes and subclasses and refactor until the criteria are met.

You'd be surprised how readable this makes the code when XXX is about the size of your vertical screen and Y is relatively small.

twelve40 2 hours ago | parent [-]

but then you end up with a clusterfuck of classes?