Computer science related topics and more.

Latest posts

Do you think Computers can compute?

Let's have a look at these lines of code: bool computer_computes_correctly = false; if ( 0.3 + 0.6 == 0.9) { computer_computes_correctly = true; } So, what do you expect our variable's value computer_computes_correctly will be? If you...[...]
Read more

Funny coding

Have a look at these funny lines of code. To protect the innocent you can read a slightly different version below: Useful comments are useful: // Class implementing Anyclassname class Anyclassname { ... } What about the opposite, is th...[...]
Read more