Digital Architect

less info
105 reputation
2
bio website
location Canada
age
visits member for 3 years, 3 months
seen Jul 1 at 13:57

gg


Feb
26
awarded  Supporter
Feb
26
comment Why Use !boolean_variable Over boolean_variable == false
@Andres, you should have said to zzzzBov, "Oops (...). !YourBad"
Feb
26
comment Why Use !boolean_variable Over boolean_variable == false
@zzzBov I completely disagree with your sweeping statement of languages which are C style. Java, Javascript/Actionscript are ECMAScript based languages. Java I think might be the closest bet you have here to classifying it as "c-style" but I wouldn't agree still and wouldn't agree with C# either. They're based on ECMA and and I would say that aside from the odd similar similar syntactic expressions, they're not styled after C.
Feb
26
comment Why Use !boolean_variable Over boolean_variable == false
I have to agree with Aubergine here, I myself have fallen into the bad habit (especially in Java) of leaving bools uninitialized and then end up checking for null. I think this is more of a flaw of the language, however which imposes that flaw on the user. When declaring a new bool variable it should default to false without initialization in my opinion.
Jun
21
comment Avoiding Object Oriented Pitfalls, Migrating from C, What Worked for You?
And fortunately you're entitled to your opinion, just as I'm entitled to mine.
Jun
21
awarded  Teacher
Jun
21
answered Avoiding Object Oriented Pitfalls, Migrating from C, What Worked for You?