Your co-worker: Your future self

2025/12/27

Type
Learning Resource
Format
Glossary Article
Version
General
Subject Tags
Code
Assets
All else
Copyright 2016-2026, GDQuest
Created
2026/02/16
Updated
2025/12/27

Your co-worker: Your future self

Even if you work alone, games are so large that you will at some point look at code you wrote yourself with as much confusion as if it was completely new. Programming is never a lonely practice!

You're collaborating, at the very least, with your past self and your future self. If your past self is lazy, your future self will suffer.

Once you finish a piece of code, always take a moment to think: would you understand it right away? Is anything unclear? Are the names you picked and the structure you used communicating the intent of the code?

If anything needs comments for adding details, comment right away. If you're just starting, it might be a good idea to comment the whole structure, every line or almost. This will not only help when you come back to the code, but it will also anchor the concepts in your mind better.

Become an Indie Gamedev with GDQuest!

Don't stop here. Step-by-step tutorials are fun but they only take you so far.

Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.

Nathan

Founder and teacher at GDQuest
  • Starter Kit
  • Learn Gamedev from Zero
Check out GDSchool

You're welcome in our little community

Get help from peers and pros on GDQuest's Discord server!

20,000 membersJoin Server

Contribute to GDQuest's Free Library

There are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!