3 ms·
I call this WET, Write Everything Twice, as opposed to DRY, Don’t Repeat Yourself. If you need to repeat yourself, first copy and paste. If you need to a third
by klik99 2y ago
I call this WET, Write Everything Twice, as opposed to DRY, Don’t Repeat Yourself.
If you need to repeat yourself, first copy and paste. If you need to a third time, then you can pull it into a function to generalize.
But like nearly everything with programming, hard and fast rules are bad, but it’s a good rule of thumb
- tejtm 2y agoMaybe I am out of the lingo loop but I always thought of this as "We Enjoy Typing"