Who thought it would be a good idea not to include global variables?
Obligatory comment: Global Variables should be avoided as much as possible.
>>60031226
Why do you need global variables in your objective oriented code and why can't you use an object instead of them?
https://en.wikipedia.org/wiki/Singleton_pattern
>not just carrying globals as parameters to everything
Power of globals without using globals
>>60031226
Just use a static public filed in a class you dumbfuck.
>>60031226
They stole everything from Java, even the bad parts.
>>60031226
Why do you need global variables?
(inb4 singleton)
>>60031226
Your English is remarkably good, Pajeet.
what, do you meanstatic class?
>have to use some weird cianigga "class" just to make a global variable
why does C# think this is a good idea?
if ur gonna allow global variables then fugging allow them, don't cia-fy them to a confusing class LOLE..........
>>60033112
>classes are confusing
Anon...I'm sorry :(
>>60031226
Why don't you just create a public class variable??
>>60033193
classes aren't confusing but if u want to make a global variable why do u have to make a class? u see it is unnecessary cia-fying
>>60034146
>if u want to make a global variable
But you don't want to make a global variable, anon.