Quote:
Originally Posted by Mikesch01
- Never let a catch empty
|
I gotta disagree with you here, especially when handling procedures that will always throw off an error and you simply want to catch it and nothing more
E.g. attempting a ParseFloat inside of a try catch statement, inside of a boolean.
If you know what the exception is, you know it's not harmful and that it's not just floating around in memory, then what harm can this really do? Nothing and it is common practice for professional coders to
catch(Exception e){}//and thats all
Because why handle something that need not be handled?
So I disagree on this key point here
Keep in mind I didn't see the code posted