Saturday, October 27, 2018

software engineering - Are there cases where globals/singletons are useful in game development?



I know that having global variables or singleton classes creates cases that can be difficult to test/manage and I have been busted in using those patterns in code but often times you gotta ship.


So are there cases where global variables or singletons are actually useful in game development?




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...