On 20020101 Richard Gooch wrote:
>Object-oriented programming is a good tool. One of many. But it
>shouldn't be a religion, nor do you need to write in C++ to make use
Use the right tool for the purpose. You bet for rewriting half the
C++ runtime in C instead of not-using the bloated part of C++.
Pretty. If you're going to program in a OO way, use an oo language.
And I get tired of people saying C++ is bloat. My pupils at 5th course
of Computer Science still think C++ is bloat. They have no idea on
compilers. And they bless Ada.
A 5th level virtual function still has only a one-level
indirection overhead when called. Low level code is just as efficient
as C. If a C++ program is bloated it is the programmers matter, not
>of it. A good example of object-oriented programming done in C is the
Perhaps GTK+, but Xt...
-- J.A. Magallon # Let the source be with you... mailto:email@example.com Mandrake Linux release 8.2 (Cooker) for i586 Linux werewolf 2.4.18-pre1-beo #3 SMP Thu Dec 27 10:15:27 CET 2001 i686 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:16 EST