Hello..
Does 100% object oriented programming mean I should NOT have any global variables?
At the moment I use class session, where I keep all main variables (settings) for my program and I dont have any global variables.. When I want to do some work with another class/function I have to pass session reference/pointer so it can read settings..
I could just make all things in session global, because I probably wouldnt specify them twice, so I wouldnt have to pass the reference to this class each time (which is stupid)..
What do you think? How do you guys do this?