97
Don't DRY Your Code Prematurely (testing.googleblog.com)
submitted 1 month ago* (last edited 1 month ago) by hono4kami@piefed.social to c/programming@programming.dev

DRY = Don't repeat yourself

you are viewing a single comment's thread
view the rest of the comments
[-] AnyOldName3@lemmy.world 2 points 1 month ago

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.

[-] hono4kami@piefed.social 1 points 1 month ago

OOT, I'm pretty sure I saw you on OpenMW forum before

[-] AnyOldName3@lemmy.world 1 points 1 month ago

I'm one of OpenMW's developers, so that's understandable.

[-] hono4kami@piefed.social 3 points 1 month ago

Ahh yes. Nice to see you on the Fediverse.

[-] AnyOldName3@lemmy.world 2 points 1 month ago

We've had !openmw@lemmy.ml for ages, and been present on Mastodon and Matrix for a long time, too.

this post was submitted on 20 Dec 2024
97 points (92.2% liked)

Programming

17978 readers
196 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS