27,488 reputation
246108
bio website coderscentral.blogspot.com
location Colorado Springs, CO
age 49
visits member for 3 years, 7 months
seen Apr 12 at 2:56

Started programming on a Control Data mainframe in FORTRAN IV, back when that was still a new thing. Was apparently quite masochistic, because I kept programming anyway. For that matter, I still do...

Gold C++ badge #20
Gold C badge #12
Legendary badge #35


Feb
19
comment Is there any difference learning OOP on different programming languages?
@KRyan: In case you care, there is one other prototype-based OO language that's named Self.
Dec
17
comment Any programming languages that support Generics exclusively and have no OOP support?
Ada 83 would be another to consider. To an extent, most Lisps are as well (other than those like Common Lisp, which also supports OO).
Nov
15
comment Making an algorithm more efficient
You probably want to use a quadtree.
Nov
9
comment Earliest use of Comments as Semantically Meaningful Things in a Program?
#pragma came from Ada (which left of the #, so it was just pragma).
Aug
19
comment Is an atomic action supposed to be deterministic?
@busy_wait: No, I'm treating any state upon which the code depends as input to that code, since it is.
Aug
16
comment How to migrate my thinking from C++ to C#
@Andrew: Let me summarize: in C++, you get uniform, semi-automatic management of all resources. In C#, you get completely automatic management of memory -- and completely manual management of everything else. There's no real changing it, so your only real question is not "how do I fix this?", only "how do I get used to this?"
Jul
17
comment How to provide a ubiquitous object without including it in every parameter list
@Chap: Yes -- if you have to log successes, that changes the situation entirely (and is where AOP starts to look like a much better idea).
Jun
11
comment What makes Common Lisp “big”?
@jozefg: It does, but most of that is more like API stuff than part of the language -- including quite a bit that has no direct analog in the CL spec, so an implementation that included an analog (which I believe most do) would have still more documentation on that in addition to the CL spec itself.
May
10
comment Why is there no 'finally' construct in C++?
@Mikey: I'm talking about the comments on all the answers, not just this one -- things like Kaz's apparently unthinking rejection of everything added in C++11 as "cruft" and Mason Wheeler's usual rejection of everything different from Delphi as obviously wrong. These have inflated the "discussion" tremendously, but provide little proof of anything (except, possibly, proof about the attitudes of the people expressing the opinions).
May
10
comment Why is there no 'finally' construct in C++?
@Mikey: The extensive discussion proves nothing about the language, and a great deal about people being willing to "discuss" matters of which they're clearly ignorant.
Apr
14
comment Submitting software to a competition, it becomes their property?
@Pacerier: I don't think you could submit source code you'd already released -- if they found out you had, it would probably be disqualified. To agree that the entry becomes the sole and exclusive property of the sponsor, it has to start out as your sole and exclusive property. In this case, it wouldn't be, so you'd probably be in breech of contract.
Mar
19
comment Is Bubble Sort the slowest sorting algorithm?
@LorenPechtel: ...but selection sort and insertion sort as just as easy to implement (arguably even a bit easier) and almost always faster (and, I'm pretty sure, never slower).
Jan
4
comment Why is reverse debugging rarely used?
@PhilippClaßen: based on my experience back then, I don't find it very surprising (i.e., I didn't find it especially useful).
Jan
4
comment What does the latest “C++ Renaissance” mean?
@JonHarrop: Yet more brilliant insight from the guy who, upon typing his name into Google, it's suggested that the next word you probably want to enter is "troll"!
Jan
4
comment Why is reverse debugging rarely used?
Just for what it's worth: it's really much older than you realize -- Microsoft supported it in QuickC (around 1989 or '90, if memory serves).
Jan
3
comment Why is using classic for loops as iterators in stl considered bad?
@DavidCowden: If you take a look at the output code (e.g., in assembly language) produced by writing a loop inline and using an algorithm, you'll quickly find that the code for the algorithm normally gets expanded inline, so there's no efficiency lost in abstracting away the loop.
Jan
2
comment Why is using classic for loops as iterators in stl considered bad?
@DavidCowden: I'm quite well aware of how they're implemented. IMO, using that as a "reason" for writing most loops by hand is equivalent to saying that since a higher level language gets translated into machine code anyway, you might as well do all coding by toggling in machine code on a front panel (and I'm one of the few here old enough to say what a lousy idea that is based on personal experience).
Dec
7
comment How to evaluate code quality when you're not familiar with the language?
I urge extreme caution: it's very easy to end up choosing on the basis of who writes code the most like you're accustomed to, which may well be relatively poor use of that language.
Nov
12
comment How can I get my own encryption algorithm tested?
Just be aware that chances are pretty good they won't tell you about it when they break it...
Nov
6
comment Intern Screening - Software 'Quiz'
Good idea, but probably not in the way you thought. The first thing to do is drop considering any who answer your questions. The ones who might be worth something are those who run away when you mention PHP.