Computer science related topics and more.

Latest posts

Dark pattern deceiving you as a user

Have you ever heard of anti patterns? Yes? Good. If not, you should read about them: Martin Fowler Anti Pattern Now: What are dark patterns and why should you be aware of them? Read on. Dark pattern There are many different dark patt...[...]
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

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