Archive

Posts Tagged ‘C’

Dennis Ritchie RIP

October 13, 2011 Leave a comment
NEWS

Dennis Ritchie, creator of the C programming language and co-creator of the Unix operating system, has died aged 70.

Dennis Ritchie, father of Unix and C, dies | Business of IT | ZDNet UK

Advertisements

The Future of C# and the await keyword

October 11, 2011 Leave a comment
Tags: ,

Camouflage

October 9, 2011 Leave a comment

Able to spot the camouflage in this code?

for( j = 0; j < array_len; j +=8 )
{
total += array[j + 0];
total += array[j + 1];
total += array[j + 2]; /* Main body of
total += array[j + 3];  * loop is unrolled
total += array[j + 4];  * for greater speed.
total += array[j + 5];  */
total += array[j + 6];
total += array[j + 7];
}

Source: How To Write Unmaintainable Code.

Tags: , ,