Thanks to Sam for the idea.
int k = 0;
k = k++;
After both lines execute, what is k equal to?
(more…)
There are just too many shiny objects out there. Here’s how I ended up looking at some of the strangest C code I’ve ever seen.
- Started on the gslug mailing list, reading about a new keyboard layout. I continue to be drawn in to rumors that the QWERTY layout is a conspiracy to slow down typers, so hearing about a new keyboard layout called Colemak piqued my curiosity.
- Progressed quickly from colemak.com to the Wikipedia entry on Colemak. Cool, Colemak is supposed to be easier to switch to than Dvorak.
- The Colemak entry on Wikipedia mentions digraphs. I’ve heard of digraphs because I use them in Vim, but you can use them in C, too? Strange.
- The digraph entry on Wikipedia also mentions trigraphs. Trigraphs!
Sheesh. Interesting, but talk about distracting. I sure hope it isn’t true that multitasking kills your brain.