Gamasutra is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Gamasutra: The Art & Business of Making Gamesspacer
View All     RSS
September 15, 2019
arrowPress Releases

If you enjoy reading this site, you might also want to check out these UBM Tech sites:

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

Devs Answer: What are the best comments left in your code?
April 8, 2016 | By Bryant Francis

April 8, 2016 | By Bryant Francis
More: Console/PC, Smartphone/Tablet, Indie, Programming

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. 

Related Jobs

HB Studios
HB Studios — Lunenburg/Halifax, Nova Scotia, Canada

Experienced Software Engineer
AfterThought — Henderson, Nevada, United States

Unreal Engine 4 Programmer
Disbelief — Chicago, Illinois, United States

Junior Programmer, Chicago
Disbelief — Chicago, Illinois, United States

Senior Programmer, Chicago

Loading Comments

loader image