DEV Community

What was your sin this week?

Simon Newby on October 09, 2019

So we all love to chat about our wins but there's something cathartic about admitting the dark side acts we made. So please, let me know, what was your sin this week? What did you shit code when you knew you could have done better?

Collapse
 
dansilcox profile image
Dan Silcox

There should be like a ‘dark unicorn’ icon 😂

Ok confession time - I added a really horrible ‘if’ statement to an already horrible stored proc rather than rewriting it to be less horrible (no really, it was bad! 😂)

In my defence it’s in an app that’s earmarked to be ‘decommissioned’ soon!

Collapse
 
zeslova profile image
Simon Newby

Well if its going to be depreciated...

Collapse
 
fultonbrowne profile image
Fulton Browne

I brought down one server 3 times (It pays to test)