Skip to main content
Spelling fix: "shutter" != "shudder"
Source Link

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 shuttershudder when I see a try catch that does nothing and is designed to handle dumb logic. In general try catches are over used, however in some cases are very useful.

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 shutter when I see a try catch that does nothing and is designed to handle dumb logic. In general try catches are over used, however in some cases are very useful.

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 and is designed to handle dumb logic. In general try catches are over used, however in some cases are very useful.

Post Made Community Wiki
edited body; added 55 characters in body
Source Link
Nickz
  • 1.4k
  • 1
  • 14
  • 18

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 shuddershutter when I see a try catch that does nothing and is designed to handle dumb logic. In general try catches are over used, however in some cases are very useful.

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.

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 shutter when I see a try catch that does nothing and is designed to handle dumb logic. In general try catches are over used, however in some cases are very useful.

corrected spelling
Source Link
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 shuttershudder when I see a try catch that does nothing to handle dumb logic. In general try catches are over used.

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 shutter when I see a try catch that does nothing to handle dumb logic. In general try catches are over used.

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.

Source Link
Nickz
  • 1.4k
  • 1
  • 14
  • 18
Loading