7,193 reputation
23354
bio website shog9.com
location Colorado
age 34
visits member for 4 years, 1 month
seen 21 hours ago

Community Coordinator for Stack Exchange, Inc.

If necessary, contact me via email to stackexchange.com: shog@...

For by thy words thou shalt be justified, and by thy words thou shalt be condemned.


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
Aug
2
revised Can't I just use all static methods?
Fix formatting, minor typos, restructure to emphasize question slightly, remove off-topic "book recommendation" question
Aug
2
comment Can't I just use all static methods?
This isn't necessarily a problem. Some languages provide other mechanisms (non-virtual methods in C++ and C#) for accomplishing the same thing intentionally - C# even provides "sealed" methods to further extend this idea! Obviously, you wouldn't do this just for the heck of it, but it's a good technique to be aware of...