Skip to main content
2 of 4
corrected spelling
ChrisF
  • 39k
  • 11
  • 129
  • 169

The most evil thing to protect dumb programming. putting everything in a try catch and doing nothing with the catch

 try { int total = 1; int avg = 0; var answer = total/avg; } catch (Exception) { } 

I shudder when I see a try catch that does nothing to handle dumb logic. In general try catches are over used.

Nickz
  • 1.4k
  • 1
  • 14
  • 18