[Freeciv-Dev] Re: curiosity
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sunday 02 December 2001 11:46 am, Reinier Post wrote:
> > Well, I just don't see any huge benefit in it. Why C++ objects? What's
> > wrong on C objects? Inheritance? You can do it in C too.
>
> Data inheritance is still easy, but you also want to couple data classes
> (structs) with the code that uses them (methods), and be polymorphic
> (call the foo method on a bar class accepts an object within any subclass
> of bar, and calls the foo function defined in either bar or the first
> superclass of bar up the injheritance chain that defines it).
>
> > Templates are bloating and
> > discouraged anyway. So only benefit is even more bloated and unreadable
> > and messy code, we don't have enough of it already?
>
> Switching to C++ means strictly less code, not more, if you use C++
> features only where required.
excellent points :)
andy
- [Freeciv-Dev] Re: curiosity, (continued)
- [Freeciv-Dev] Re: curiosity, Raimar Falke, 2001/12/01
- [Freeciv-Dev] Re: curiosity, Andrew Sutton, 2001/12/01
- [Freeciv-Dev] Re: curiosity, Petr Baudis, 2001/12/02
- [Freeciv-Dev] Re: curiosity, Raimar Falke, 2001/12/02
- [Freeciv-Dev] Re: curiosity, Andrew Sutton, 2001/12/02
- [Freeciv-Dev] Re: curiosity, Raimar Falke, 2001/12/02
- [Freeciv-Dev] Re: curiosity, Andrew Sutton, 2001/12/02
- [Freeciv-Dev] Re: curiosity, Justin Moore, 2001/12/02
- [Freeciv-Dev] Re: curiosity, Andrew Sutton, 2001/12/02
- [Freeciv-Dev] Re: curiosity, Reinier Post, 2001/12/02
- [Freeciv-Dev] Re: curiosity,
Andrew Sutton <=
[Freeciv-Dev] Re: curiosity, Reinier Post, 2001/12/02
[Freeciv-Dev] Re: curiosity, Raimar Falke, 2001/12/01
[Freeciv-Dev] Re: curiosity, Andrew Sutton, 2001/12/01
|
|