J
jacob navia
Le 13/03/12 09:52, gwowen a écrit :
Says "gwowen", widely known guy.
They have been aproved by the French Normalization committee.
I use void pointers for the data stored in the containers, yes. This
is the generic pointer in C. If you want C++ go there and do that.
I am programming for the C language because I work in C and I do not
want C++ or templates. Now, if you do not like that it is OK with me,
use the STL!
There are no casts to void * needed or from void * to any other kind of
pointer needed in C, to the contrary of C++.
Learn C before you accuse me of forcing casts!
Use templates then pleeeeze. f you want to program in C++ do that
but let me program in C.
You haven't even bothered to READ the error handling proposed
in the library. There are exceptions: they are called
"Error handling functions"
and they provide you with all the
needed hooks to change them, to trap certain kinds of error and not
others, etc.
They are provided in a
(1) Global basis (to trap ALL errors or ALL errors of a certain kind for
ALL containers
(2) IN a per class way so that you can change error behavior for lists
only, for instance
(3) In a per container way so that you can change the error behavior in
a per single list way for instance
and that means that your
You can always say that, but since you do not address ANY of the
specifications proposed it is just an assertion of your personal
dislike of C as a programming language. Granted, you think C++ is
the best thing since sliced bread.
Use C++ then!
Maybe, there are many technically sound proposals that were rejected
because the people proposing them had no political (and economic) clout.
You are not doing any technical criticism, just ranting. You have not
even cared to address why the error interface concretely is wrong,
what would you change in it, what the technical problems are.
Your only message is
C++ is better.
No, you are just ranting, I do not feel personally attacked, nor I
consider your critic as justified since there isn't a SINGLE concrete
reason why the error interface is bad. You just haven't even read what
I propose.
Your proposal will fail, and your energy will be wasted.
Says "gwowen", widely known guy.
They have been aproved by the French Normalization committee.
Among the
many reasons for this not least because using void* as your
fundamental type shifts makes the compiler implenters life easy by
shifting all the effort onto to the programmer.
I use void pointers for the data stored in the containers, yes. This
is the generic pointer in C. If you want C++ go there and do that.
I am programming for the C language because I work in C and I do not
want C++ or templates. Now, if you do not like that it is OK with me,
use the STL!
No one want generics
where type safety is the responsibility of the programmer, and they
have to keep casting their object pointers back and forth.
There are no casts to void * needed or from void * to any other kind of
pointer needed in C, to the contrary of C++.
Learn C before you accuse me of forcing casts!
That why C++ templates win - compile time type safety.
Use templates then pleeeeze. f you want to program in C++ do that
but let me program in C.
You haven't got
that, and you haven't got exceptions,
You haven't even bothered to READ the error handling proposed
in the library. There are exceptions: they are called
"Error handling functions"
and they provide you with all the
needed hooks to change them, to trap certain kinds of error and not
others, etc.
They are provided in a
(1) Global basis (to trap ALL errors or ALL errors of a certain kind for
ALL containers
(2) IN a per class way so that you can change error behavior for lists
only, for instance
(3) In a per container way so that you can change the error behavior in
a per single list way for instance
and that means that your
interfaces and error handling is horrible to the point of
unusability.
You can always say that, but since you do not address ANY of the
specifications proposed it is just an assertion of your personal
dislike of C as a programming language. Granted, you think C++ is
the best thing since sliced bread.
Use C++ then!
So what you have will never be widely accepted.
Maybe, there are many technically sound proposals that were rejected
because the people proposing them had no political (and economic) clout.
Other reasons include your inability to accept any technical criticism
of your design. You simply won't be able to persuade anyone of
anything without a change in attitude.
You are not doing any technical criticism, just ranting. You have not
even cared to address why the error interface concretely is wrong,
what would you change in it, what the technical problems are.
Your only message is
C++ is better.
You may now accuse be of making personal attacks thereby proving my
point.
No, you are just ranting, I do not feel personally attacked, nor I
consider your critic as justified since there isn't a SINGLE concrete
reason why the error interface is bad. You just haven't even read what
I propose.