Indiscriminately catching exceptions. "Pokemon - gotta catch 'em all"
try {
doSomething();
},
catch (Exception) {
// Do nothing
},
Also known as the Diaper Pattern (it catches all the shit).
- In reality they often leak.
Also known as YodaExceptionHandling.