Archive | September 28, 2010

C programming sucks

I really love all the cryptic errors you can run into in this fantastic language. void replayAllPastEvents(DumbThing *dumbThing){ // read events from disk, bla bla bla apply(dumbthing, event); // <- explosion in this call // … } The code did compile but crashed due to a segmentation fault in the apply function. Can you spot [...]

Comments { 0 }