Don't DRY Your Code Prematurely
Don't DRY Your Code Prematurely
![](https://programming.dev/pictrs/image/21eb94d3-0df8-44ab-8619-35370dbe0350.png?format=webp&thumbnail=128)
This is another post in our Code Health series. A version of this post originally appeared in Google bathrooms worldwide as a Google Tes...
![Don't DRY Your Code Prematurely](https://programming.dev/pictrs/image/21eb94d3-0df8-44ab-8619-35370dbe0350.png?format=webp)
DRY = Don't repeat yourself
Don't DRY Your Code Prematurely
This is another post in our Code Health series. A version of this post originally appeared in Google bathrooms worldwide as a Google Tes...
DRY = Don't repeat yourself
You're viewing a single thread.
This is silly. Everyone knows that DRY is telling you that if you do the same sequence of mouse clicks three times in a row, you should spend the day writing a script to automate the task instead of quickly finishing what you were doing by doing the same sequence of clicks a fourth time. If you are supposed to apply it to the code you write, then there'd never be boilerplate-heavy languages like Java.
I thought I was clear enough there that I could get away without a /s
at the end. Of course the real meaning isn't it's a really good idea to spend a day automating four mouse clicks you only need to do one more time.
Ha, I see.
Yeah, sarcasm over text forums is sometimes difficult to pick up on.
OOT, I'm pretty sure I saw you on OpenMW forum before
I'm one of OpenMW's developers, so that's understandable.
Ahh yes. Nice to see you on the Fediverse.
We've had !openmw@lemmy.ml for ages, and been present on Mastodon and Matrix for a long time, too.