DansTonCode.net
quote.smartness() == 42Perfection [in design] is achieved, not when there is nothing more to add, but when there is nothing left to take away.@author Antoine de Saint-Exupéry
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