Thursday, April 05, 2007

Retarded Code in Parallels

Dear Parallels,

I'm sorry to say I will not be using your product. Today I found the worst piece of C code that I have ever seen in my life. The following comes from include/AtomicOps.h in version 2.2.2112 of parallels-workstation:

char assert[
sizeof(int) == 4 && sizeof(unsigned) == 4
&& sizeof(long) == 4 && sizeof(unsigned long) == 4 ? 1 : -1];


Somewhere in your company, a perfectly good computer science education has gone to waste.

- Phil