[Mplayer-cvslog] CVS: main/libmpdemux demux_mkv.cpp,1.2,1.3

Balatoni Denes pnis at coder.hu
Sun May 11 23:49:01 CEST 2003


Hi!

Actually, you can write comprehensible code in c++ too - that of course is 
just one of your options.

bye
Denes

> > > Why ? Operator overloading is one of the best features of C++.
> > > it makes the code much more readable if you have to handle complex
> > > objects.
> >
> > IMO it makes code unreadably confusing, at least when you overload
> > certain operators. Even worse still is when you overload == but not
> > !=, + but not +=, etc. so that it's inconsistent!
>
> Not talking about the case if you redefine == to behave as != and vice
> versa :)
>
>
> A'rpi / Astral & ESP-team



More information about the MPlayer-cvslog mailing list