Reputation
53,880
Next tag badge:
167/100 score
19/20 answers
Badges
10 153 237
Newest
 Enlightened
Impact
~1.6m people reached

Nov
18
comment Where can I get feedback and support from other programmers in real time?
Have you looked at StackOverflow's chat system, by chance?
Nov
15
comment Be liberal in what you accept… or not?
@deworde: To apply your real-world scenario to the real world, if you screwed up that icon, the parser would throw an error that tells you exactly where the problem is, making it easy to fix. Right now, if you make a mistake like that, you get no warning at all. It will just unexpectedly produce the wrong output somewhere, and if it's below the cut you might not even notice it. But your customers will!
Nov
9
answered Why are people so strongly opposed to #region tags in methods?
Nov
5
awarded  Enlightened
Nov
4
comment Local Stack vs Call Stack
Oh, nevermind. My mistake.
Nov
4
comment Local Stack vs Call Stack
I don't see any comments on that page by "LKM". A text search turns up one comment by "blkmage" and one response to his comment, but that's it.
Nov
4
awarded  Nice Answer
Nov
4
revised Would it be dishonest to use side tools during a phone interview?
grammar fix
Nov
3
comment Why are brackets required for try-catch?
@Billy: No, please pay attention. I'm saying that try/finally (not try/catch) is a lower-level concept than automatic object destruction. RAII is implemented with implicit try/finally blocks, (which, again, I never said had anything to do with setjmp/longjmp,) while an actual try/finally construct is not available. This means that to simulate try/finally for other purposes (guaranteed-reversible temporary state changes) in C++ you have to go to the trouble of creating a special class to do it for you through RAII, instead of simply using a try/finally block. Thus, abstraction inversion.
Nov
3
comment How many are too many interfaces on a class?
+1 for making me literally laugh out loud.
Nov
3
comment Why are brackets required for try-catch?
@Billy: I never said exception handling is based on setjmp/longjmp. Dipan said that. What I said is that RAII cleanup is based on implicit try/finally blocks. You seem to be unaware of what a try/finally block is if you think that a SEH-based system does not count, and you seem to be entirely unaware of the definition of "abstraction inversion". Look it up on Wikipedia, then try to figure out a guaranteed way to reverse a temporary state change that does not involve object destruction in C++, and you'll see what I mean. Object cleanup isn't the only good use for try/finally blocks.
Nov
3
comment Why are brackets required for try-catch?
@Billy: Because RAII is an abstraction inversion. To be pedantic, it inserts constructs into the generated object code that would be called try/finally blocks in any language that supports try/finally blocks.
Nov
3
comment Why are brackets required for try-catch?
@Billy: Neither does exception handling. If you're referring to RAII, that only works because the compiler adds implicit try/finally blocks to take care of object destruction. It's not some magical implicit property of exception handling.
Nov
2
answered How to have two different programmings with two different languages interact?
Nov
2
comment Is there any well known project to VBify C and make C as RAD language?
@Lundin: I have, but it's been a few years...
Nov
1
comment Is there any well known project to VBify C and make C as RAD language?
Actually, I wouldn't call C++ a sane language in comparison to anything. (Except maybe INTERCAL and its ilk.) But that's not what the question was about.
Oct
30
answered Is there any well known project to VBify C and make C as RAD language?
Oct
28
comment What is the/Is there a right way to tell management that our code sucks?
@ThomasX: Depends on the blind person. A good friend of mine understands color just fine, because she didn't lose her sight until partway through grade school. ;)
Oct
27
accepted Where does the term “Red/Black Tree” come from?
Oct
27
awarded  Nice Question