Attila said:
I do not recall very strong doubts from that book.
Then read it again. Several places Bjarne expresses that some things are
not exactly as he wishes, and may well be changed later.
"weak defense" I guess you do not need to work anymore on self-confidence,
you can start on modesty and rhetorics.
So now I am not allowed to say anything building on my own experience
and the experience of thousand others using the features in question, in
other languages, just because it disagrees with Bjarne? Get real.
I am not at all claiming to understand language design as well as Bjarne
does. But that doesn't mean that some points in his book are more well
argued than others. For example, he sometimes say something to the
effect that this or that feature isn't included since, although it can
be helpful and powerful, it can also be misused especially by beginners.
I don't think that is a valid argument against a feature. He even says
so himself, that one shouldn't underestimate the professional
programmers that uses a language.
So why don't you? With real arguments - of course.
You want me to write a book? I am just stating my opinions after reading
the book (a year ago or so). If I were to write a useful and valid
criticism that anybody can use for anything, I am not going to say
something random in a newsgroup. I would read the book again and
carefully comment where I thought i was needed, and publish it somewhere
on the net. Many people would disagreee with me, and maybe many would
agree. You would have a hard time making a hard proof that one group was
right and the other was wrong. Language design is not an exact science.
But I haven't done this yet. That doesn't mean that I can't comment on
his book. Or if so, then please don't comment yourself.
Phew. This is reassuring.
You're hard to take serious now. Please take the discussion serious, or
don't say anything.
As I have asked you to find it, I find it interesting how it turned to be my
job anyways.
I don't see how it is my job. As far as I'm concerned, you're the one
making unsubstantiated statements. I understand that you probably think
the same about me. But that doesn't make it my job more than yours.
What I can tell you is that I was able to find convincing
arguments of why Bjarne Stroustrup decided on not allowing inheritance from
fundmental types at all.
That's not exactly what we're discussing. I am not necesarily talking
about "inheritance" in the traditional C++ way.
Therefore I find it no surprise that he did not
waste the trees (the paper) to describe why some sort of other things are
not allowed on those types.
Sorry, I don't understand this.
Well, yes, if you want to participate in a discussion where that is your
point.
At the time todays C++ has been created Bjarne Stroustrup
came up with them.
And therefore we can't discuss the langauge?
OTOH if you feel that you can come up with a feasible
proposal on how to add those things into the language, and you come up with
use cases supporting the need, and you come up with convincing arguments of
why to do it the way you want it and you make an offical proposal out of it
which *convinces* *me*, I will be more than happy to present it for a straw
vote to the Evolution Working Group in Sydney this spring.
I don't have the time, but it is an interesting proposal. I will
consider writing a proposal whenever I get the time to do it.
But whatever you
propose has to stand the critical eyes of compiler implementers as well as
the finest minds of the industry (I am not talking about me). So be careful
to make it very convincing and possible to implement.
Of course. "Possible to implement" is the easy part. It is a feature
that is so easy to add to any C++ compiler implementation in existance,
in my experience with compiler design.
As for the issue itself. My feeling is that it is possible to come up with
a library based solution, which can be feasible on any quality
implementation.
Really? Interesting. Could you outline this?
So based on that I find it hard to believe that anyone can
justify a core language change - but unlike you, my mind is not closed by a
prejudical decision.
It seems like you are the prejudical one right now. You don't know
anything about whether my "mind is closed". I don't know whether yours
is, which is why I don't make such unsubstantiated claims, that btw. has
nothing to do with the subject at hand. Let's get back to that.
Show what you have got, where and how would you change
the language/the standard, what would it effect and why, what use cases
makes it possible etc. I am sure it is not only me, who will be ready to
look at it.
This issue is important to me so I probably will do that, when time
allows it.
/David