
4 Tips for Refactoring Your Code for Readability
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.








![[2D 게임 개발 꿀팁 시리즈] 모바일 성능과 쓰로틀링](https://img.youtube.com/vi/z0bkXem0g7o/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 게임에 3D 오브젝트 쉽게 사용하는 방법](https://img.youtube.com/vi/8ytJW1I6Agg/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 그림자 최적화로 60FPS](https://img.youtube.com/vi/L494gnEHr5A/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 메모리 절약 스프라이트 5가지](https://img.youtube.com/vi/-cxbULpRSXE/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] Sprite Shape vs. Tilemap](https://img.youtube.com/vi/q5Yeif-jJ2I/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 최적화](https://img.youtube.com/vi/zMMACezlItM/hqdefault.jpg)


![Cards: Tidy Up! [Demo Out Now]](https://img.youtube.com/vi/6DDIfmMYYFs/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 조건](https://img.youtube.com/vi/5DstF95ojw0/hqdefault.jpg)







![[2D 게임 개발 꿀팁 시리즈] 2D 게임 그림자 성능](https://img.youtube.com/vi/yMrlutMnhpc/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 성능과 재미 사이](https://img.youtube.com/vi/dE1PNUM40ag/hqdefault.jpg)










![[2D 게임 개발 꿀팁 시리즈] 물리를 바꾸면 FPS가 100배?](https://img.youtube.com/vi/uUU3wggbNtU/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 배칭](https://img.youtube.com/vi/0HO_7fwC_6A/hqdefault.jpg)




























![[2D 게임 개발 꿀팁 시리즈] Runtime Sprite Atlas](https://img.youtube.com/vi/ocFwQ4sogDo/hqdefault.jpg)


































































