No respect

I have no respect for people who write code like this example below:

return false;
return true;


vpapanik said…
You mean the wrong indentation don't you ? :D :D :D
if(this.hasActionMessages() == BooleanConstants.FALSE){
return false;
}else if (this.hasActionMessages() == BooleanConstants.TRUE) {
return true;
} else {
throw new IllegalArgumentException("Unknown value returned by hasActionMessages()");
Much better ;-)

Popular posts from this blog

GetDIBits vs. Scanline vs. Pixels[] in Delphi Bitmaps

Useful Fonts for Linux

Installation of Ubuntu 17.04 (Zesty Zapus) on VMWare Workstation