Reputation
55,015
Next tag badge:
226/100 score
19/20 answers
Badges
10 156 241
Impact
~1.7m people reached

Jul
31
answered Why does Objective-C store objects on the heap instead of on the stack?
Jul
28
answered Why is it so difficult to read code?
Jul
27
revised Why does C# have both out and ref?
added 174 characters in body
Jul
26
awarded  Nice Answer
Jul
26
comment Why does C# have both out and ref?
@Random832: As Robert posted under his answer, have a look at Eric Lippert (former C# compiler guy) discussing this at stackoverflow.com/q/2876315
Jul
26
comment Why does C# have both out and ref?
@Neo: Basically what I said in the answer: It communicates that you don't care about using this for input, and thus it's safe to pass an uninitialized value to an out param because the function receiving it isn't going to read from it.
Jul
26
answered Why does C# have both out and ref?
Jul
25
awarded  Enlightened
Jul
25
awarded  Nice Answer
Jul
21
comment Clean Abstract Syntax Tree
@NSAddict: The way you "keep the bases clean" in a multi-pass compiler and make things easy to reason about is with a well-defined pipeline. Each step uses the Visitor Pattern to perform a certain operation on the AST. You can then reason that, at any given stage of the pipeline, the AST will be in a certain well-defined state because all of the transformations performed by all previous stages will be complete by that point. Keeping complexity of mutable data down to a comprehensible level is really not that difficult; you just need to apply some discipline and definition.
Jul
21
comment Clean Abstract Syntax Tree
@NSAddict: Sorry. It's just that I've never understood the "difficult to reason about" line, and people who use it always state it as a fact, (or at least an article of faith,) with no evidence provided or (apparently) required, even though the burden of proof should be on the person making the claim. It's hard for someone who reasons about stuff like this all the time to see a claim like that and not come to the conclusion that the problem actually lies with the person who seems to find this to be some really hard thing to do.
Jul
21
answered Clean Abstract Syntax Tree
Jul
13
comment Is the question “What is the using statement” a bad question to ask an interviewee?
@JeffO: To Google something, first you have to know what you're looking for. That's not always an obvious thing.
Jul
13
answered Is the question “What is the using statement” a bad question to ask an interviewee?
Jul
13
comment What are some good books to use to learn ADA?
ADA is the Americans with Disabilities Act. The programming language is written "Ada".
Jul
12
comment The Critical Functionality of an API has changed, what should I do?
Google: "Don't be evil." Facebook: "Don't even bother pretending we're trying not to be evil."
Jul
10
answered How to suspend open source support?
Jul
9
reviewed Approve Can static and dynamically typed languages be seen as different tools for different types of jobs?
Jul
1
awarded  Enlightened
Jul
1
awarded  Nice Answer