How do you choose if a variable should be config or globalconfig

Discussions about Coding and Scripting
User avatar
PrinceOfFunky
Godlike
Posts: 1192
Joined: Mon Aug 31, 2015 10:31 pm

How do you choose if a variable should be config or globalconfig

Post by PrinceOfFunky »

I know what's the difference but it sounds like a difficult decision to make, I would say:
Config = More control over the single subclasses, but less control when you need to change that variable for each subclass;
Globalconfig = More control over global changes, but less control over the single subclasses;
How do you choose it? (I think in case of indecision I would choose config)
"Your stuff is known to be buggy and unfinished/not properly tested"