Reputation
904
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 9 18
Impact
~22k people reached

Dec
3
awarded  Famous Question
Oct
29
awarded  Custodian
Oct
29
reviewed Approve Why is the minus sign, '-', generally not overloaded in the same way as the plus sign?
Oct
28
revised Why is the minus sign, '-', generally not overloaded in the same way as the plus sign?
deleted 4 characters in body
Oct
28
revised Why is the minus sign, '-', generally not overloaded in the same way as the plus sign?
deleted 134 characters in body
Oct
28
revised Why is the minus sign, '-', generally not overloaded in the same way as the plus sign?
added 153 characters in body
Oct
28
revised Why is the minus sign, '-', generally not overloaded in the same way as the plus sign?
added 313 characters in body
Oct
28
answered Why is the minus sign, '-', generally not overloaded in the same way as the plus sign?
Sep
15
awarded  Nice Answer
Sep
10
awarded  Yearling
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/…