How to Write CODE That Documents Itself @InfallibleCode
How to Write CODE That Documents Itself  @InfallibleCode
Uploaded November 2020 | Updated September 2026, 1 week ago
Sign up for the Level 2 Game Dev Newsletter: eepurl.com/gGb8eP

Stop using comments! In this video you'll learn how to write code that documents itself.

#Programming #GameDevelopment #Unity3d

Programming for game development often requires complex code that can be hard to understand if isn't documented. As a result, many game developers pepper their code with comments that explain exactly what it does, line-by-line.

On the surface, this seems like a good practice. But in reality, highly commented code usually means that it 's poorly written and hard to maintain.

Instead of relying on comments, game developers should learn how to write code that flows easily and documents itself. In this video, I share the simple trick of encapsulation that can take your code from spaghetti to self documented and clean.

👨💻 Join our community: discord.gg/NjjQ3BU
❤️ Support the channel: patreon.com/infalliblecode

My Favorite Unity Assets 💯⤵️
1️⃣ Odin Inspector: assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041?aid=1100l3e8M
2️⃣ Shapes: assetstore.unity.com/packages/tools/particles-effects/shapes-173167?aid=1100l3e8M
3️⃣ Easy Save: assetstore.unity.com/packages/tools/input-management/easy-save-the-complete-save-load-asset-768?aid=1100l3e8M
4️⃣ Dialogue System for Unity: assetstore.unity.com/packages/tools/ai/dialogue-system-for-unity-11672?aid=1100l3e8M
5️⃣ Editor Console Pro: assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1100l3e8M

⚡ Learn more about Unity 3D Plus at http://prf.hn/click/camref:1100l3e8M/destination:https://store.unity.com/products/unity-plus

👋 Contact me directly at charles@infalliblecode.com

* Disclosure: These are affiliate links, which means I'll receive a commission if you use them to make a purchase.
How to Write CODE That Documents ItselfUnit Testing in Unity — When Should You Do It?Unleash the Power of Raycasts with Dot Product (Unity Tutorial)How to be a Successful Indie Game DeveloperInfallible Code - Unity 3D Gamedev Stream #4Unity Job System: Safe and Easy Multithreading in Unity[GameDev Stream] Hangout w/ Matt MirrorFish (5/1/2020)[GameDev Stream] Sharing My Project Setup in Unity (5/31/2020)Unity 2021.2 — New Features for ProgrammersWhy its OKAY to use the Asset Store - ft. InfinityPBRUnity For Software Developers (Course Trailer)SpatialOS Tutorial Series | Cloud Deployment
Infallible Code |

How to Write CODE That Documents Itself

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER