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
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
It's all gravy baby
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.