27,910 reputation
246108
bio website coderscentral.blogspot.com
location Colorado Springs, CO
age 49
visits member for 3 years, 10 months
seen Jul 9 at 22:47

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


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).
Aug
21
comment Analyzing Memory Usage: Java vs C++ Negligible?
@delnan: cs.canisius.edu/~hertzm/gcmalloc-oopsla-2005.pdf
Aug
16
comment Object-Oriented Design: What to do when responsibility of the class is big
At least right off, it sounds like you could use a Configuration class to handle configuration for a service, and probably a front-end for that to automate reverting a configurations after a session.
Aug
1
comment What is a good starting point for small scale PHP development and would a framework be overkill?
IMO, the only truly correct answer "just don't do it." While it's possible to work around PHP's lousy design to produce things that work (yes, quite well in a few cases) it's roughly equivalent to pushing an egg with your nose to get it from one place to another -- cute as a party game, but completely insane as a method of transportation.
Jul
19
comment Why all classes in .NET globally inherits from Object class?
@kevincline: I probably should have worded that a bit differently -- to the effect that Ada as a whole was dismissed as a failure due to its failure in the marketplace. Refusing to use Ada was (IMO) quite reasonable -- but refusing to learn from it much less so (at best).
Jul
18
comment When Rob Pike says “Go is about composition”, what exactly does he mean?
@dystroy: You're still not understanding. A three level hierarchy in modern C++ is next to unheard of. In C++ you'll see those in the iostreams library and the exception hierarchy -- but close to nowhere else. If the iostreams library was being designed today, I think it's safe to say it wouldn't be that way either. Bottom line: your arguments show less about C++ than about how out of touch you are with it. Given that you haven't used it in decades, that makes sense. What doesn't make sense is trying to say how C++ is used based on that dated experience.