Guus Bosman

software engineering director


You are here

fun

The Daily WTF

Joris sent me this great website a while back: The Daily WTF.

They describe "curious perversions in information technology" -- funny coding errors and the likes.

Today they had an absolutely brilliant piece of code:

enum Bool 
{ 
    True, 
    False, 
    FileNotFound 
};

Comments

Jaap's picture

It's realy brilliant. There is often some thing between true and false, in real life.
Sometimes a statement is neither true nor false, but some possible reactions could be : "wrong statement"; or "think it over" or "we could not possibly know what is true", "Do you really know what you are talking abou"?".
The comments in the Daily WTF on this fine piece of philosophy are a bit too sarcastic to be funny.

Recent comments

Recently read

Books I've recently read: