[Freeciv-Dev] Re: (PR#8372) [RFC] Inline generator
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8372 >
I'm pretty much in sync with Jason's sentiments so haven't
added anything much to this. Generators add a layer of
complexity. It is not clear they make things all that much
easier or robust, and sertainly the complexity reduces
flexibility and understanding.
Personally I think at the moment, generators are a new twist
on the old 4GL fad in search of a problem to solve :-). But there
is some underlying rationale for them and they are almost ready
for primetime.
The Groovy-Java hookup is the interesting idea of the moment
and C++/Java vs Python/Perl are the sort two hard/prototype
language ends one wants to hookup so lots of mundane code is
trivially protoyped, written or co-genera<ted in one, and
performance is handed off to the other partner. There is less
generator writing of code and more optimal use of the coding
language of choice for appropriate tasks, in my mind though.
If someone comes up with something it should be looked at,
but I wouldn't make it a priority direction just yet.
Cheers,
RossW
=====
Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8372 >
>
>>[i-freeciv-lists@xxxxxxxxxxxxx - Sat Mar 27 06:48:15 2004]:
>
>
>>>that was solved a long time ago.
>>
>>But not here. What solutions do you know here?
>
>
> Funcational language features (like lisp macros) are the proper
> solution. Rather than generators I'd suggest a functional preprocessor.
> But I still believe it is a waste of time.
>
> jason
|
|