[MPlayer-dev-eng] c++ version of mplayer.c

Michael Niedermayer michaelni at gmx.at
Tue Feb 15 13:00:02 CET 2005


Hi

On Tuesday 15 February 2005 08:24, Gábor Lénárt wrote:
> On Mon, Feb 14, 2005 at 09:36:22PM +0100, Attila Kinali wrote:
> > > Please stop saying that C++ is easier to maintain since isn't language
> > > related but developer related.
> >
> > That's actualy wrong. Using the right language can really help
> > maintaining code.
>
> No, if some developers can't know C++, only C ;-) In this case it _IS_
> developer related :) 'Maintain' IS a notion which is a human notion
> of course, everyone can write nice and ugly code, both in C and C++, this
> does not matter.
>
> Also the proposed changes uses C++ in a way which can be done easily in C
> too. I mean, the ugly big main() function can be divided into more
> functions for easier developing in C too, it simply does not worth to use
> C++ just for this ... And so on. The real need for C++ would be a situation
> where objects needs to be inherited and such, so the major features of C++.

gcc-3.? supports single inheritance in plain c files AFAIK and theres also a 
patch for 2.95 IIRC

[...]
-- 
Michael

"nothing is evil in the beginning. Even Sauron was not so." -- Elrond




More information about the MPlayer-dev-eng mailing list