DEV Community

Discussion on: 5 Things you should NOT be ASHAMED of as a developer

Collapse
 
jonathanburnhill profile image
Jonathan Burnhill • Edited

I love this thanks!!

Just yesterday I wrote something that wasn't dry and it kind of bothers me but I feel I would spend more time trying to craft the perfect function for it than leaving it be considering the fact it actually beforms so I needed this

Collapse
 
veebuv profile image
Vaibhav Namburi

If its for a code test then ofc haha, make it DRY - if its for work, as long as its an elegant solution and the lack of DRY doesn't make the code look like spagetti, its all gravy

Collapse
 
jonathanburnhill profile image
Jonathan Burnhill

It's all gravy baby