3 ms·
> Also, real programmers don't say DWORD. Wait what? If you've done any windows coding in C it's practically lingua franca. I think the int{size}_t stuff is wa
by overgard 6y ago
> Also, real programmers don't say DWORD.
Wait what? If you've done any windows coding in C it's practically lingua franca. I think the int{size}_t stuff is way better, but a "word" is common slang, and a double word is like a dword because nobody wants to write that much
> Also, the "next and previous points xor'ed into a DWORD" hack mentioned at the end? This isn't duct tape programming. It's absurdly context-dependent premature optimization
Man I'm writing code for an arduino right now and that kinda optimization isn't rare for a machine with 2k of ram. It's not absurd it's useful to be able to do that. Sure don't do it on your 4ghz intel or whatever but techniques like that are useful.