Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2000:
[Freeciv-Dev] Re: OO model for Freeciv?
Home

[Freeciv-Dev] Re: OO model for Freeciv?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Freeciv Development Mailing List" <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: OO model for Freeciv?
From: "Sam BC" <sambc@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 2 May 2000 20:48:47 +0100
Reply-to: <sambc@xxxxxxxxxxxxxxxxxxx>

response below
> -----Original Message-----
> From: Dan Ward
>
> At 20:16 2/5/2000, you wrote:
> >On Tue, 02 May 2000, Dan Ward wrote:
> > > >...C++ should bring clarity to our
> > > >algorithms and make them easier to optimise. There are some bits of
> > > >code currently so opaque no one understands them ;-)
> > >
> > > Utter nonsense, if some of the code is opaque it is because
> it has been
> > > badly written; if the code's hard to optimise then it has
> been designed
> > > poorly. Good design is much more important than choice of language.
> > >
> > > IMHO the time required to convert from C to C++ (a
> non-trivial task if you
> > > want to do it properly) would be much better spent on adding
> new features
> > > to the game.
> > >
> > >
> > > Dan Ward
> >
> >Then I guess it makes no difference to you if you write in
> assembler or C?
> >(Sorry for participating in the flamewar, but that was just too easy :) )
> >
> >-Thue
>
> Nope. It takes much longer to develop in ASM than it does in C or C++
> especially as you'd have to write the code for each supported platform :)
>
> I don't want to get into a flamewar either I was trying to point out that
> design & good coding is more important than choice of language. Unless we
> need to do a significant re-write I can't see the advantage of moving to
> C++ (silver bullets don't work in the real world).
>
> Dan
>
No-one is suggesting Freeciv switching languages, just a splinter group
converting the game to C++, as I see it mainly as an exercise, and later
comparing the two. If this creates a complete fork due to politics and
disagreements, so be it - that's OpenSource! I personally say we should get
a new name straight away (Freeciv++?) to avoid such problems in a WCS. As I
see it, the discussion is in any case merely good manners on the parts of
those interested in converting to C++ - there is no legal impediment to just
doing it!

I say if there is sufficient backing and no objections, myself and others
should get on Sourceforge and work. I am not presuming to take charge, just
make a suggestion.

I want to work in C++ because I want to work in some way towards Freeciv,
and there are currently two things stopping me:

        1) I'm a C++ man and I can get by in C but I am no guru (or even good
coder)
        2) I no way have the time to learn the structure and specifics quickly
enough to begin
           work. Helping convert to C++ would help teach me this structure, and
make it more
           understandable at a stroke

So, I ask again for those in favour, say aye!

SamBC




[Prev in Thread] Current Thread [Next in Thread]