From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,b87849933931bc93 X-Google-Attributes: gidf43e6,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public From: "Vos nom et pr�nom" Subject: Re: What is wrong with OO ? Date: 1997/01/14 Message-ID: <01bbd23a$5b667cc0$LocalHost@christophe-leph>#1/1 X-Deja-AN: 209767557 references: <32D11FD3.41C6@wi.leidenuniv.nl> organization: Chris & Co newsgroups: comp.lang.c++,comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object,comp.software-eng Date: 1997-01-14T00:00:00+00:00 List-Id: Bjarne Stroustrup a �crit dans l'article ... ... > Had C++ not been relatively easy to learn and use reasonably well, it > would have disappeared long ago. By relative I mean the amount of effort > needed compared to the amount of benefit gained. In an absolute way, surely C++ is harder to learn than a lot of other languages. Now, let's talk about the "relatively easy to learn". Another way that effort vs benefit to relativise is language's complexity vs the complexity of the job to do. An exemple : if you want to display the "hello world", C++ is not the better language. Conclusion : More and more complex becomes the job to do, the less and less the language is hard to learn (still talking relatively). ... > Deciding which member functions should be virtual is a design decision, > not an optimization. If a designer has provided a poor base class, you > will typically have problems beyond what can be fixed by overriding. Just a question about it (I just posted a new thread about this) : when a member function is better as non virtual ? -- Chris "The nail pulling up calls the hammer" zen proverb