11/ answer: let me circle back to that later ok, but at least you can use the types that functions return to help you understand the code, right? no, the code freely casts from type to type
-
-
22/ Found the memory corruption issue. Old code: typedef uint32_t fred; typdef struct { fred a; fred b; } bob; new code: I replace uint32_t with uin64_t; sizeof(bob) automatically updates, right? no we're not doing sizeof(bob) ; we've got it hardcoded.
Show this thread - End of conversation
New conversation -
-
-
This reminds me obliquely of Vinge's "A Deepness in the Sky" where code was commonly reused instead of written from scratch, and an effort to rewrite code to be more efficient provided an interstellar trading group a competitive advantage.
-
I remember that bit very very well. You remember the bit where they talk about the clock, and hint that it's actually Unix time? I'm a big enough fan of the novel that I put a little homage to that scene in my first novel.
End of conversation
New conversation -
-
-
At what point though do the lesser craftsmen grab axes and chop down the genius's front door? "Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live." http://wiki.c2.com/?CodeForTheMaintainer …pic.twitter.com/d5QRNi5p0E
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.