Content
@
0 reply
0 recast
2 reactions
grin
@grin
what's some programming advice that's considered common sense or that you hear often, but is actually bad advice?
18 replies
7 recasts
16 reactions
dusan.framedl.eth
@ds8
DRY (don't repeat yourself) - this mostly because it's so easy to detect duplicates even for beginners. it leads to terribly misguided advice and creating stupid abstractions that complicate the code.
4 replies
0 recast
8 reactions
Phil Cockfield
@pjc
Agree with this! I like WET and DRY "Write Everything Twice" then when you know what you're doing, or understand the problem space (selectively), dry it out.
1 reply
0 recast
0 reaction
Darryl Yeo 🛠️ (at Devcon)
@darrylyeo
Love this. It always takes an iteration or two to arrive at the optimal implementation. Can’t make it DRY before it’s been WET.
0 reply
0 recast
0 reaction