News for hackers. Stuff that matters.
Re:Debunking the Google Interview Myth by ajg1977 on Tuesday January 04, 2011 @07:14PM (#2069197)
The "right way" depends on the task at hand and the tools you have at your disposal. For any type of low-level work, being able to view, understand, and observe regions of memory is pretty much essential.
[deleted]
Re:Debunking the Google Interview Myth by jwatzman on Tuesday January 04, 2011 @08:35PM (#2069413)
When I was writing a malloc implementation for a class, I defined a value I used in place of NULL to terminate a structure sort of like a linked list. With debugging off, it actually was defined to NULL; with debugging on, it was defined to 0xDEADBEEF so that I could see the distinctive value when debugging.