2 ms·
https://grugbrain.dev/#grug-on-dry https://grugbrain.dev/#grug-on-dry grug begin feel repeat/copy paste code with small variation is better than many callback/
by hprotagonist 2y ago
https://grugbrain.dev/#grug-on-dry https://grugbrain.dev/#grug-on-dry
grug begin feel repeat/copy paste code with small variation is better than many callback/closures passed arguments or elaborate object model: too hard complex for too little benefit at times
hard balance here, repeat code always still make grug stare and say "mmm" often, but experience show repeat code sometimes often better than complex DRY solution
something i have learned the hard way is that DRYing out too fast paints you into architectural corners you don't even know are there yet.
- localfirst 2y agoread the whole article and wow! grug tell facts
- big_hacker 2y agois free country sort of