I must just be late to the party, but: I just realized (approximately a decade later than I should) that C0FFEE can be spelled in hex. How have I never seen a code base use this as a 'token word' (albeit with some high-bit junk)? Actually you'd want to pad the low bits to make it odd too.
The most common cookies I've seen in production code are 0BADF00D, DEADBEEF, and FEEDFACE.
0xCAFEBABE
ReplyDeleteJava class files start with
ReplyDeleteCAFEBABE
DEADC0DE
ReplyDeleteI used 0BEE6EE5 once and thought it was a lot cooler than it really is!
ReplyDeleteI always enjoyed complementing C0FFEE with DECAFBAD.
ReplyDelete0x5ADCA5E5 :)
ReplyDelete