Reputation
7,521
Next tag badge:
70/100 score
2/20 answers
Badges
2 35 54
Newest
 Yearling
Impact
~405k people reached

Nov
9
comment Where did the notion of “one return only” come from?
@John, you seem to be trying to answer the question without actually answering it. It's a fine reading list, but you've neither quoted nor paraphrased anything to justify your claim that this essay and book have anything to say about the asker's concern. Indeed, outside of comments you've said nothing substantial about the question whatsoever. Consider expanding this answer.
Nov
9
comment Avoiding new operator in JavaScript — the better way
So wait - are you looking for a better way to accomplish this, or are you just looking for someone to give you code so you can have variable-argument object creation without new? Because if it's the latter, you're probably asking on the wrong site. If it's the former, you might want to not dismiss suggestions regarding using new and detecting errors so quickly... If your app is truly "heavy", the last thing you want is some overwrought construction mechanism to slow it down. new, for all the flack it gets, is pretty speedy.
Nov
6
revised May I give a single class multiple responsibilities if only one will ever be reusable?
attempt to clarify question. Edit title to reflect question
Nov
3
comment Why are brackets required for try-catch?
@Billy: which is a pretty good argument for doing it this way - force the writer to explicitly disambiguate the construct. This is the same argument often made for bracketing nested if/else statements though, even though the compiler doesn't require it.
Nov
3
comment Why are brackets required for try-catch?
@Billy: I think you're glossing over the potential ambiguity present in if / if else... It's easy to say "it's easy to just say" - but that's because there's a hard rule for resolving the ambiguity that, incidentally, disallows certain constructs without the use of brackets. Jerry's answer implies this was a conscious choice made to avoid confusion, but surely it could have worked - just as it "works" for if / if else.
Nov
3
comment Why are brackets required for try-catch?
bah, just edited my comment to remove that ambiguity. What I'm getting at is that this could be a more effective answer than Tom's (above) if it went to greater lengths to illustrate how the bracket-less construct could have worked, but in a confusing manner (Billy's comment on Tom's answer seems to imply that it could not have worked, which I believe is incorrect).
Nov
3
revised Why are brackets required for try-catch?
Unify quote
Nov
3
comment Why are brackets required for try-catch?
The OP is asking about the brackets around both the try and the catch block, while this appears to be referencing those around the try (the first paragraph could be understood to reference both, but the code illustrates only the former)... Can you clarify?
Nov
1
revised What keywords are important to speedup the code in C++?
All those bold+italic words looked lonely without any links
Oct
22
revised Can one forget programming if it is not practiced for some time?
edited tags; edited tags; edited tags; edited tags
Oct
14
comment What are good keyboards for programming?
@compman: it comes down to personal preference, really. I, personally, HATE the layout and feel of the MS Natural keyboard. The keys are too soft (yes, really), the "ergonomic" bend is the wrong angle for my hands, the re-grouping of the function and cursor keys ensures I make unnecessary errors when moving to/from it from other keyboards, and the big fat space bar gets in my way. YMMV...
Sep
21
comment Why should you prevent a search engine from indexing your development server?
Also see the FAQ: avoid subjective questions where your answer is provided along with the question, and you expect more answers
Sep
12
comment In plain English, what is recursion?
See also: stackoverflow.com/questions/3021/…
Sep
6
answered Should development methods squash a developer's individualism?
Sep
2
awarded  Yearling
Sep
1
comment Is it common to lie in job ads regarding the technologies in use?
Edited to emphasize what appears to be the core question, while deemphasizing your bitterness over being done wrong.
Sep
1
revised Is it common to lie in job ads regarding the technologies in use?
Attempt to emphasize core question
Aug
25
comment Implementing technical paper algorithms in C++ or MATLAB
@nibot: since that site is still in private beta, and the author of this question isn't a member of that site, no. Feel free to ask something similar there though...
Aug
24
comment Implementing technical paper algorithms in C++ or MATLAB
I'm migrating this, based on the understanding that you're more interested in general practices and and suggestions than in the implementation of the specific example you've given. If this is not the case, please flag in one or both places, and we'll look at clarifying or perhaps bifurcating the question...
Aug
18
awarded  Nice Answer