Re: [gtk-list] Was : Why is gtk+ written in C? - now : Quick Rant



julian.gosnell@nomura.co.uk writes:

>In conclusion, ANSI C is a subset of C++. Stick to this subset and it will
>cost you no more than C itself. Take advantage of C++'s extra features where
>appropriate and you pay a corresponding price. If you think that you can
>provide similar features in a C program for less cost than C++ can, please
>submit them to the C++ community - I'm sure they would be delighted to
>consider your optimisations.

Finally, the voice of reason. C++ gives one extraordinary power if one is a
competent designer, and can afford to let go of absolute efficiency. If you're
writing a kernel, or an important library, like Gtk+, that's another matter,
but for most of app writers C++ is a boon.  The argument that goes, "I found
it difficult," is not a criticism of the language at all, is it? 

C being the lingua franca of programming languages, a Gtk+ written in C is the
most widely useful and most efficient way to go.

--
James Bailie

http://www.wwdc.com/~jbailie



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]