Hi, Pierre Phaneuf!
On 11 Apr 97 02:51:11 you wrote to Jerry Coffin
PP> There is *many* questionable things about C++... Like for example,
PP> (regarding pure virtual functions) what happens if I put something
PP> else than 0 after the =??? Like in "virtual void fn() = 42"?
NEver tried. Most probably it will increment the error count. ;-)
PP> Also, *not* having multiple constructors,
??? You have as many ctors as you like. Just make 'em accept different
number or mix of type of the arguments. I like pascal's constructor keyword,
and ability to name the ctors freely, but in the practice you extremely
rarely need ctors with different behavior and the same arglist. And even in
that case you can solve it.
PP> *having* multiple inheritance...
Having multiple inheritance is good. Not easy to implement on the compiler
side, but comes really handy if fits in your modell.
The questionable things I count in C++ are inherited from C to keep
comatibility.
Paul
... 4am? Already? Oh no not again!!
--- OS/2 Warp
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)
|