Reputation
816
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 8 16
Impact
~19k people reached

Aug
4
comment What was the reason for the creation of boolean variables?
@Panzercrisis it would not typecheck at all in static languages, you wouldn't even be able to compile
Jun
20
comment How can I avoid the use of strings?
blog.codinghorror.com/new-programming-jargon - see stringly typed.
May
29
awarded  Good Question
May
29
comment Is the use of one-letter variables encouraged?
Yes and no. Completely depends on the situation.
May
24
comment Can you implement “object-oriented” programming without the class keyword?
@overexchange When you think about it, inheritance is all about sharing common code/behaviour between classes. Nothing stops you from repeating all that code all the time. Would be super awful to maintain though. There is a reason why inheritance exists :)
May
24
comment Can you implement “object-oriented” programming without the class keyword?
Inheritance is in no way required for OOP. You could implement inheritance in your first example as well. It migth not be very "clean" but possible all the same.
May
24
revised Can you implement “object-oriented” programming without the class keyword?
added 80 characters in body
May
24
answered Can you implement “object-oriented” programming without the class keyword?
Apr
29
comment Is it okay to have objects that cast themselves, even if it pollutes the API of their subclasses?
@ThomasJunk You need to find the right abstraction level for your classes, it seems like you are skipping quite a few here between the base and the sub classes
Apr
27
comment Why is it common to put an underscore before a method in JavaScript?
stackoverflow.com/questions/4484424/…
Feb
23
comment Caveats of using String.hashCode() on a switch on java < 1.7
Non-equal objects can have the same hashcode..
Feb
22
revised How is a dictionary better than a big switch, when mapping data to action?
added 158 characters in body
Feb
21
comment How is a dictionary better than a big switch, when mapping data to action?
Why do you have to have huge instance definition? Load the info from a file or some other source?
Feb
21
answered How is a dictionary better than a big switch, when mapping data to action?
Sep
24
awarded  Autobiographer
Sep
10
awarded  Yearling
Mar
27
comment Explanation of the code snippet , keyword operator in , in c++ , use of objects in classes
It might very well be valid, I must say that C++ is not my strongest language :)
Feb
22
awarded  Notable Question
Dec
7
comment Why Big Data Needs To Be Functional?
Also notice that while testing on the JVM, just running the test once does not give in any way reliable results. You'd need to run the test case several times over so the JIT kicks in.
Dec
2
revised Modularity and “encapsulation” in C
corrected title