News for hackers. Stuff that matters.
Re:Don't DRY Your Code Prematurely by chipdart on Friday May 31, 2024 @01:50AM (#40531900)
To be fair, not all lines of code are equal. A project with a state machine, commands, strategy patterns, etc requires an awful lot of repetitive boilerplate.

A number-crunching app or a data processing pipeline packed with spaghetti business logic is far harder ti read.

Re:Don't DRY Your Code Prematurely by HumblyTossed on Friday May 31, 2024 @09:09AM (#40534694)
And that is why KLoC is a very piss poor metric.

>A project with a state machine, commands, strategy patterns, etc requires an awful lot of repetitive boilerplate.

Yeah, good thing we're not a java shop...