4 ms·
The general review of anything, "It would have been twice as good if it was half as long" applies.
by smitty1e 3y ago
The general review of anything, "It would have been twice as good if it was half as long" applies.
- mvdtnz 3y agoNot in the general case, no. Not in programming. I would much rather review (and maintain) 20 lines of clear, readable code than 3 lines of obscure clever code. More lines isn't better, but in the limit fewer lines is very often worse.
- chris_wot 3y agoThree lines of clever, readable code is also better than 20 lines of obscure boilerplate code.
- OrderlyTiamat 3y agoIn particular if that boilerplate code spans multiple projs and type inheritances for something that really could be done in about three lines. Boilerplate has its own obscurity problems.