Reputation
30,839
Next tag badge:
117/100 score
18/20 answers
Badges
3 51 122
Newest
 Nice Answer
Impact
~1.5m people reached

1h
revised How much lines of code does a programmer write per day?
edited body
14h
answered How much lines of code does a programmer write per day?
Feb
4
comment Is it possible to access protected members of an object from the function of an object whose type is derived from type of first object?
Yes, this is entirely possible (unless I've misread your intent).
Feb
1
comment Cons and Pros of ternary operator instead of if/else
Without specifying at least something in the way of circumstances or context, any "better" or "worse" seems to be purely opinion.
Jan
28
comment Should we avoid language features that C++ has but Java doesn't to increase maintainability?
@SebastianRedl: change "Java has features" to "Java has mistakes" (and likewise, "Java's other features" to "Java's other mistakes", "Java-exclusive features" to "Java-exclusive mistakes", etc.), and you're pretty close correcting things. :-)
Jan
28
comment Should we avoid language features that C++ has but Java doesn't to increase maintainability?
@supercat: OTOH, given the number of platforms that support Java but not C++, this strikes me as almost entirely a solution in search of a problem.
Jan
28
comment Should we avoid language features that C++ has but Java doesn't to increase maintainability?
Presumably where you say "may need", you really mean: "may not need"? Assuming so, then I'd tend to agree.
Jan
27
awarded  Nice Answer
Jan
26
revised What's the historical reason of including DOS-stub in PE images?
added 326 characters in body
Jan
26
answered What's the historical reason of including DOS-stub in PE images?
Jan
26
revised Should we avoid language features that C++ has but Java doesn't to increase maintainability?
added 212 characters in body
Jan
26
awarded  java
Jan
26
answered Should we avoid language features that C++ has but Java doesn't to increase maintainability?
Jan
25
comment Should we avoid language features that C++ has but Java doesn't to increase maintainability?
If you want Java, use Java. If you use C++, use C++, not some horrible, twisted imitation of Java with C++ syntax. Using C++ but restricting yourself to Java's feature set gives you the worst of both worlds.
Jan
23
comment Why does integer division result in an integer?
@MasonWheeler: Yes, you make it clear that you're aware of its existence--but to all appearances fail to grasp its significance.
Jan
22
comment Why does integer division result in an integer?
@MasonWheeler: You do realize, don't you, that Pascal provides precisely the same operation, using an operator named div? Oh, and it was originally implemented on a Control Data mainframe that didn't provide an integer division instruction, so its inclusion in the language added work.
Jan
22
comment Why does integer division result in an integer?
@LightnessRacesinOrbit: Remember that old definition of insanity as being repeating the same action and expecting a different result? Believing that mere facts could change Mason's belief that every characteristic of C++ is the essence of wrongness, is clearly insane.
Jan
14
awarded  Guru
Jan
11
comment Isn't the use of NoSQL Databases impractical in a large number of use cases?
But MongoDB is Webscale! [warning: includes some NSFW language]
Jan
10
comment Is an AST enough to build any translator?
Regardless of the name used, nobody can enter new answers to it right now. Comments can be posted until/unless it's deleted.