Handmade Hero»Forums»Code
Abel
2 posts
Zed's Awesome Debug Macros
There is a really cool (and free) book about C programming called "Learn C The Hard Way", which you can find here.

I'd like to know what your thoughts are on Exercise 20, which addresses some debug macros that aim to improve readability and save hours of debugging. Do you think HH could benefit from using these?
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Zed's Awesome Debug Macros
Edited by Casey Muratori on
Well, not to pre-brag, but when you see the instrumentation macros we do on Handmade Hero, these will look awful remedial :P We just haven't really gotten to anything that takes more than a minute to debug, so I have been putting off instrumentation until we have some more rendering support (since it's easier with, say, fonts...)

- Casey
29 posts
I enabled the dark theme.
Zed's Awesome Debug Macros
Zed also made this awesome website:

http://programming-motherfucker.com/

(spoiler because URL contains profanity, and since Casey has been trying not to swear on the stream I presume the goal is the same on here)