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.
In questa pagina del sito puoi guardare il video online How to Write CODE That Documents Itself della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Infallible Code 01 novembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 39,582 volte e gli è piaciuto 2.5 mille spettatori. Buona visione!