Re: Bug, feature or just accidental?
On 8/2/2011 9:23 AM, firstname.lastname@example.org wrote:
On Tue, 02 Aug 2011 08:59:52 -0400
Victor Bazarov<email@example.com> wrote:
Perhaps you have a database error and wish to through the error number along
with the table and column names. There are a million other examples.
What you throw is an exception *object*. You shouldn't need to *throw*
an error number or the table and column *names*. Those should be the
data you stuff in your database exception object.
Congratulations on completely missing my point.
Which was what, exactly?
> Using that logic perhaps
function calls should only allow one function call parameter then?
Perhaps. Is there logic in that?
> Want to
pass 2 or more? Just stuff them into a parameter object. Whats the problem?
There is no problem. There is however, backward compatibility [with C].
Design your own language from scratch, and you will have no such
You have to because such is the design of the language. If you don't
No shit. Any more stunning revelations from you coming soon?
Any more bogus complaints from you? How about the absence of power
operator for built-in arithmetic types?
> I was simply
commenting on how it was a missing opportunity.
Don't. It makes no sense for a standardized programming language. If
you need a new feature added to the language, go to 'comp.std.c++' and
propose it. *If* it has merit, it's going to be included in the next
We're all bound by limitations in our lives. Some limitations are
inherent, some are artificial. All of them serve some kind of purpose.
Here, for instance, it *might have been* the simplicity of
implementing that feature. But it doesn't matter. The language is what
it is now. What is the damn point of "commenting on how it was a
missing opportunity"? There are probably hundreds of features that
haven't made it into the language. Are you going to seek them all out
one by one and "comment" on them? I see it as a waste of time, to be
honest. Unless, of course, you're using that "missing opportunity" to
improve the existing language (when are we going to see a proposal from
you in 'comp.std.c++'?) or to come up with your own (the name 'D' is
already taken, so, what's yours going to be called?)
I do not respond to top-posted replies, please don't ask