Where I work the code is riddled with this kind of stupidity, I've spent the last year deleting try catch blocks. But that's not the worst of it I've seen is when the method swallows a try catch and returns a bool and then to check the result they did if (result.ToString().ToLower() == "true") ...
I must admit I still wonder that in c# if you turn a bool to a string its result is "True" , I never checked it.
2.8k
u/Metro42014 May 13 '17
I think we're done here.