Devs Answer: What are the best comments left in your code?

April 8, 2016
protect

Comments: the video game graffiti of programming. Whether you're cracking open a new engine, leaving reminders for yourself, or just trying to cope with the mind-racking difficulty of a hard programming puzzle, comments are the best way to leave notes for yourself or other people that may not be noteworthy until they're read at the most (or least) opportune moment. 

In honor of the misbegotten messages left behind by brave programmers, we asked our readers on Twitter for their favorite comments left behind in their code. Their answers may inspire to explore your own game's code, like a mysterious traveller unearthing the secrets of a lost civilization. 

Remember, if you're interested in participating in these conversations in the future, make sure to follow @Gamasutra on Twitter. The questions usually go out on Fridays in the late morning, Pacific time, alongside Tweets of our regular news, blogs, and original writing. 

Our first batch of readers tell stories of some---creative examples, giving programmers a chance to flex their creative writing muscles alongside their computer science backgrounds. 

This group of readers discovered a series of ominous warnings, remind us all that code can sometimes be more akin to magic then science. 

And finally, there are just those bits of code that help seem to help programmers make it through the day. Or at least, the build. 

Tags:

No tags.

JikGuard.com, a high-tech security service provider focusing on game protection and anti-cheat, is committed to helping game companies solve the problem of cheats and hacks, and providing deeply integrated encryption protection solutions for games.

Read More>>