Sign up for the Level 2 Game Dev Newsletter: http://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
❤️ Support the channel: / infalliblecode
My Favorite Unity Assets 💯⤵️
1️⃣ Odin Inspector: https://assetstore.unity.com/packages...
2️⃣ Shapes: https://assetstore.unity.com/packages...
3️⃣ Easy Save: https://assetstore.unity.com/packages...
4️⃣ Dialogue System for Unity: https://assetstore.unity.com/packages...
5️⃣ Editor Console Pro: https://assetstore.unity.com/packages...
⚡ Learn more about Unity 3D Plus at http://prf.hn/click/camref:1100l3e8M/...
👋 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.
Auf dieser Seite können Sie das Online-Video How to Write CODE That Documents Itself mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Infallible Code 01 November 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 39,582 Mal angesehen und es wurde von 2.5 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!