28,465 reputation
248110
bio website coderscentral.blogspot.com
location Colorado Springs, CO
age 50
visits member for 4 years, 3 months
seen 2 days ago

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


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.
Nov
5
comment Learning C++ properly (not C with classes)
@Giorgio: Yes -- std::set always maintains its elements in order.
Nov
5
comment Learning C++ properly (not C with classes)
@PabloAriel: As much as anybody might like to pass strcmp's address directly to qsort, doing so isn't allowed or portable -- the signature for qsort's comparison function is required to be int (*)(void const *, void const *), and that doesn't match what strcmp provides.
Oct
29
comment What is Object Oriented Programming ill-suited for?
@Kramii: That point, at least, came to Java from Smalltalk -- what many view as the ultimate reference of what is or is not OO.
Sep
22
comment What are the boundaries between the responsibilities of a web designer and a web developer?
Designers figure out what to do. Developers figure out how to do it.
Sep
4
comment What does it mean by atomic commit for a versioning system?
@SamB: VMS, which has version control built into the file system, so saving a file adds it to version control (not that it's truly a panacea either, but it does prevent that particular problem).