?

Log in

No account? Create an account

Previous Entry | Next Entry

The Daily WTF

If you do anything with code you might enjoy The Daily WTF.

This one was too good not to share with you that don't read it.
public boolean checkFalse(Boolean bool) {
  if (bool.booleanValue() == Boolean.FALSE.booleanValue()) {
    return Boolean.FALSE.booleanValue();
  } else {
     return Boolean.TRUE.booleanValue();
  }
}
I think they 'got' the concept for properties of objects in this Java code.