Tag Archives: c

The C language still surprises me

What does this code print? 1 2 3 4 5 6 7 8 9 10 11 12 #include <stdio.h>   int main() { signed char x = -128;   if (x < 0) { x = -x; } printf("x = %d\n", (int) x); return 0; } I’ve been reading Matters Computational, an excellent (free) book [...]

Why I rewrote Quivi from scratch

Joel Spolsky, popular software engineering, said in this blog: (…) They [Netscape] did it by making the single worst strategic mistake that any software company can make: They decided to rewrite the code from scratch. I agree, mostly. Many projects market that they’ve been “rewritten from scratch” as if it was something marvelous, and most [...]