Cohesion and Coupling

During my time learning Unreal I have found that I have not really been apply best programming practices. So I started looking into article on using the GameState and GameMode classes properly. Mostly I found articles that mention the Model-View-Controller design pattern, GameMode being the Controller and GameState being the Model.

Eventually I found this article: UE4 Coding: Decoupling for Better Code by Jonathan Hale. I appreciate the importance that Hale puts in writing code that is not highly coupled. It was a refreshing change of pace compared to an Unreal Chess tutorial which had GameMode.h in almost every class.

Leave a Reply

Your email address will not be published. Required fields are marked *