DansTonCode.net
quote.smartness() == 42Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.@author Martin Golding
Quote #209
java
@
author 
vwatel
0
//I once saw a code that was completely riddled with this pattern
try {
    component.doSomething();
    component.doSomethingElse();
} catch (NullPointerException ex) {
    component = new Component();
    component.doSomething();
}
Code-source en java proposé par vwatel
 
 0