Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Zed's Awesome Debug Macros (learncodethehardway.org)
11 points by LeafStorm on Oct 16, 2011 | hide | past | favorite | 5 comments


Woot, looks like i'm reading an explanation of how i code since more than two years! So many people screams against goto, even more when goto is "hidden" in a macro. But when you read some code with a function call followed by a simple "GOTO_IFERR()" which check if an error occurred, trace the error properly and then goes to a specific part for each function where cleanup will be handled everythings seems really cleaner for me


I don't think I've seen that website before, but I wish I did. The data oriented object chapter is just plain cute.


Can you link to data oriented object chapter? I am unable to find it. Thanks.



Yeah, that one was fun to write. I still have to go back and clean up some stuff, but feel free to tell me more love/hate chapters.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: