Entries Tagged as 'Geeky'

I did say this would be geeky…

int banana = -1;

printf(“div: %d ; shift: %d\n”, banana/2, banana>>1);

Gives:

div: 0 ; shift: -1

Weird, huh?

Computers Should Not Be Allowed For Normal People

Why the hell can’t Word do a numbered list starting at 0?

This will be continued.

Coder Jokes

Every now and again I find something randomly in someone’s code, whether it’s a comment or just a funny variable name. In this case it’s the default information in the about box for a cocoa document-based application:

Engineering:
Some people

Human Interface Design:
Some other people

Testing:
Hopefully not nobody

Documentation:
Whoever

With special thanks to:
Mom

Made me smile :)

This blog is likely to be updated only sporadically, to be full of extremely eclectic/geeky nonsense and probably of no interest to anyone.