Reputation: 67 Whiz
- Active Members
- Active Posts:
- 182 (0.47 per day)
- 17-February 13
- Profile Views:
- Last Active:
- Today, 03:41 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
Posts I've Made
Posted 4 Mar 2014From what i understand, namespaces are largely an organizational tool and so if they help you do just that, you should probably use them. For instance, if you find yourself naming classes WindowXFeatureZ and WindowYFeatureZ then it would certainly make sense to divide WindowX and WindowY into different namespaces. After all organization becomes very important as the size of your project grows. It's also easier to start that organization early on and keep it consistent all the way through.
Posted 1 Mar 2014You could add a private static boolean and switch its state in the public instance constructor. Also first check the state and on finding the class has already been constructed previously, throw an exception.
Personally i think i'd make the constructor private though and use a public static function that returns the new instance.
Edit: What am i talking about? Read up on singletons.
PS. Excuse me i'm a little drunk.
Posted 28 Feb 2014I can't claim to have any significant experience, but i've gotten the impression that computer science is indeed very math heavy.
Like Greg asks though, do you really suck at math? Do you have trouble grasping the concepts? Or have you simply been lazy and ignored studying?
In high school (upper secondary?) i always understood the concepts easily and helped my friend out with them. In the end my friend received the highest grade and I the third highest, because he studied much harder.
Posted 26 Feb 2014Dragon Age 3
Maybe they'll get it right this time... One can hope, right?
They don't live up to their predecessors but they've been fun so far none the less.
Once more: one can hope? Although if it's made by Bethesda it'll likely end up a one big dumbed down fetch-quest like FO3 and Skyrim with no heart or a hint of a real a RPG.
Posted 1 Oct 2013^ is XOR. If you want power use Math.pow.
- Member Title:
- D.I.C Head
- 20 years old
- March 1, 1994
- Programming Languages: