How to write unmaintainable code
I found this
article absolutely fascinating and hilarious. Beyond the trappings of manic humour, however, there are some pieces of arcane technical knowledge to be gleaned from there. Take this C snippet, for instance.
int arr[2] = {1,2};
int i = 1;
Now, what is the value of i[arr]? Yes, it seems obvious to me now, but I was a little surprised to find that gcc accepted it.
Labels: funny, geek