4 Tips for Refactoring Your Code for Readability

https://www.youtube.com/watc...
Sign up for the Level 2 Game Dev Newsletter: http://eepurl.com/gGb8eP Refactoring your code on a regular basis is a good way to reduce technical debt. But refactoring is a skill that can take years to perfect. That's why I focus each refactoring session on a single goal. That goal could be for scalability, testability, modularity, or a number of other things. In this video I'll share 4 tips for refactoring your code for readability. Download the project files (Tier 2 Patrons): https://www.patreon.com/posts/61457305 00:00 Introduction 02:30 Sign up for the Level_2 Game Dev Newsletter 02:59 Example project 04:00 Tip 1: Be consistent 06:19 Tip 2: Follow conventions 08:43 Tip 3: Bake your intent 12:00 Tip 4: Cut out the fat 14:10 Conclusion šŸ’¬ Join Our Community Discord: https://discord.gg/NjjQ3BU Patreon: https://www.patreon.com/infalliblecode Newsletter: http://eepurl.com/gGb8eP ā¤ļø My Favorite Unity Assets * Odin Inspector and Serializer: https://assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041?aid=1100l3e8M Editor Console Pro: https://assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526?aid=1100l3e8M Rainbow Folders 2: https://assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526?aid=1100l3e8M Peek: https://assetstore.unity.com/packages/tools/utilities/peek-149410?aid=1100l3e8M Project Search & Replace: https://assetstore.unity.com/packages/tools/utilities/project-search-replace-55680?aid=1100l3e8M āš” Unity 3D Plus: http://prf.hn/click/camref:1100l3e8M/destination:https://store.unity.com/products/unity-plus āš” Unity 3D Pro: http://prf.hn/click/camref:1100l3e8M/destination:https://store.unity.com/products/unity-pro šŸ‘‹ 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. šŸ‘‹ 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.