This account is temporarily suspended to cool down. The suspension period ends on Mar 24 at 12:51.
Reputation
Top tag
Next privilege 5 Rep.
Participate in meta
Badges
5 44 110
Newest
 Yearling
Impact
~1.4m people reached

Jan
23
comment Why does the overriding rule of C++ not care about visibility changes?
@Phil: That is not how C++ is built. C++ will let you do things that don't necessarily make complete sense in some situations. By and large, if it's implementable, C++ will do it, and even then, it'll try to let you do things that aren't implementable. There's nothing actually incorrect about this situation, it's just not clear why anybody would ever do it. However, that's been the case for a lot of things that have turned out to be great, like expression templates.
Jan
23
answered Why does the overriding rule of C++ not care about visibility changes?
Jan
21
comment Parallel hierarchies - partly same, partly different
Nobody cares if they inherit from Composite or not. You can easily define { addChild: { (child: sometype): void }; } as your function argument. Using base classes to share behaviour is a bad plan by and large- just compose of the class instead and delegate to it for the methods. You don't need the base classes for interfaces and you don't need them to share behaviour - you just don't need them at all.
Jan
21
comment Parallel hierarchies - partly same, partly different
I made an edit. The bottom line is that the base classes are absolutely irrelevant and nobody cares about them. They are an implementation detail only.
Jan
21
revised Parallel hierarchies - partly same, partly different
added 789 characters in body
Jan
21
comment Parallel hierarchies - partly same, partly different
You're considering a whole bunch of things that just completely don't matter in this case.
Jan
20
answered Parallel hierarchies - partly same, partly different
Jan
18
comment Where is the class itself stored at runtime to be used as a reference
If it's never collected, doesn't that imply that dynamically loaded classes/assemblies are effectively leaked when they're no longer referenced?
Dec
30
comment Is it the same to say “instantiate a class” and “instantiate an object”? “Instantiate a class” does not mean creating a new class?
@LightnessRacesinOrbit You should try to define precise semantics for a term- the answerer's provided definition is more than sufficiently precise.
Dec
30
comment Is it the same to say “instantiate a class” and “instantiate an object”? “Instantiate a class” does not mean creating a new class?
In C++ objects are not instances of classes. Some objects are instances of classes.
Dec
29
comment Why doesn't ES6 have thin-arrow functions?
fat-arrow functions have other differences, like they can't bind arguments either.
Dec
5
comment In x86, where are the memory addresses of the values on the stack located?
I downvoted you because you started with 16-bit x86, the most legacy shit possible.
Nov
25
awarded  Yearling
Nov
23
comment Generics vs common interface?
@zloidooraque: It has nothing to do with the environment. Intellisense cannot tell you if an IBusinessObject is a BusinessObject1 or a BusinessObject2. It can't resolve overloads based on the derived type that it doesn't know. It can't reject code that passes in the wrong type. There's a million bits of the stronger typing that Intellisense can do absolutely nothing about. Better tooling support is a nice benefit but really nothing to do with the core reasons.
Nov
22
answered Generics vs common interface?
Nov
21
comment Low cost exceptions implementation using metaprogramming
@ddriver: You've lost the plot. The only thing that can quantify the performance here is a profiler, nothing more or less.
Nov
21
revised Is a makefile really needed
edited tags
Nov
11
awarded  c#
Oct
26
revised How can we only include ready-to-be-released features in our production releases every other week?
edited body
Oct
26
revised How can we only include ready-to-be-released features in our production releases every other week?
added 156 characters in body