News for hackers. Stuff that matters.
Re:Don't write clean code, write CRISP code by physicles on Tuesday April 18, 2023 @06:38AM (#35612193)
For best results, set your DRY dial to 8 or 9 out of 10. Settings higher than 9 result in premature or excessive abstraction.

But if you hate DRY so much, imagine a word where people set it to 1 or 2. I wouldn’t want to work in that code base.

Re:Don't write clean code, write CRISP code by swader999 on Tuesday April 18, 2023 @07:05AM (#35612372)
Whatever you do, never turn it up to 11,
Re:Don't write clean code, write CRISP code by zambal on Tuesday April 18, 2023 @07:12AM (#35612429)
But what if you just need that extra bit of dryness and you're already at 10?
Re:Don't write clean code, write CRISP code by fendy3002 on Tuesday April 18, 2023 @07:52AM (#35612735)
heck, sometimes even 7 is better than 9
Re:Don't write clean code, write CRISP code by postalrat on Tuesday April 18, 2023 @08:58AM (#35613391)
Often the best way to DRY something if to let it sit in the sun a while where everyone can see it.