Gamasutra: The Art & Business of Making Gamesspacer
View All     RSS
March 25, 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
Comments
    10 comments
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

Skybox Labs
Skybox Labs — Vancouver, British Columbia, Canada
[03.25.19]

Software Engineer
Wargaming.net
Wargaming.net — Baltimore, Maryland, United States
[03.25.19]

Server Engineer
LeFort Talent Group
LeFort Talent Group — Toronto, Ontario, Canada
[03.24.19]

UE 4 Lead Developer
Pixel Pool
Pixel Pool — Portland, Oregon, United States
[03.22.19]

Software Developer (Unreal Engine 4, Blueprint, C++)









Loading Comments

loader image