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

Rotating donut source code

This is truly amazing: a rotating donut which is already visible as source code! Compile it and see what happens! Check out all the explanations: https://www.a1k0n.net/2011/07/20/donut-math.html[...]
Read more

Documentation is important

Please have a look at these lines of code and try to guess how it works. #define BeginProgram void main(int argc, char *argv[]) #define CloseBrace } #define CommandLineArgument -1 #define Declare int i,j,n,Flag=1; #define EndOfProgram return; #de...[...]
Read more

Best regards comma and a compiler's answer

Dear reader, you are currently reading an email. What do you think? Best regards, Author What happens if you do the same in a different language? For instance, this is how a compiler will react if you do this in German: Beste Grüße...[...]
Read more

Developing cross-platform mobile applications

Think twice and prepare carefully before deciding to do it. At a first glance it may sound like a good idea to develop a program for many platforms on mobile devices. However, doing so results in much frustration. Why? If you want to make us...[...]
Read more