[Freeciv-Dev] Re: Perl for scripting (Re: Plans for 1.12)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Lalo Martins wrote:
> On Wed, Jun 28, 2000 at 05:42:32AM +0200, Tomasz Wegrzanowski wrote:
> > See ?
>
> No, I don't :-)
>
> Python doesn't have arrays; it has tuples and lists. Tuples are
> an advanced concept, beginners will live happily with lists
> most of the time. And an one-element list is written [1].
>
> --- start
> twoelementlist = [1,2]
> oneelementlist = [1]
> print twoelementlist[0]
> print oneelementlist[0]
> --- end
>
> For people with any non-lisp'ish programming experience, [1]
> will probably be more DOHish than (1), won't it?
Depends - if they've done C, then yes. If they're non-programmers they
may well wonder what the difference is or not realise there is a
difference.
> > TIMTOWTDI = There Is More Than One Way To Do It
>
> That's the biggest point of friction between Perl lovers and
> Perl haters, right? :-)
>
> TIMTOWTDI is good for the writer and problematic to the reader.
Which is probably a plus in this case. Probably most of the people who
would use FreeCiv scripting (outside the developers) would use it to
write stuff they want to do and never look at anyone else's code (except
for examples which can be written properly).
I like Perl for quick things - it lets me write short programs quicker
than anything else I've tried (I have not tried Python or Scheme). I
wouldn't use it for a large project, but it can be done if you're
careful. But then with a large project you really need to be careful
regardless of the language.
Regards,
Steve Hodge
Regards,
Steve Hodge
- [Freeciv-Dev] Re: Plans for 1.12, (continued)
- [Freeciv-Dev] Re: Plans for 1.12, Daniel Burrows, 2000/06/26
- [Freeciv-Dev] Re: Perl for scripting (Re: Plans for 1.12), Lalo Martins, 2000/06/27
- [Freeciv-Dev] Re: Perl for scripting (Re: Plans for 1.12), Tomasz Wegrzanowski, 2000/06/27
- [Freeciv-Dev] Re: Perl for scripting (Re: Plans for 1.12), Lalo Martins, 2000/06/27
- [Freeciv-Dev] Re: Perl for scripting (Re: Plans for 1.12), Tomasz Wegrzanowski, 2000/06/27
- [Freeciv-Dev] Re: Perl for scripting, Cameron Morland, 2000/06/27
- [Freeciv-Dev] Re: Perl for scripting, Tomasz Wegrzanowski, 2000/06/28
- [Freeciv-Dev] Re: %!PS, Cameron Morland, 2000/06/28
- [Freeciv-Dev] Re: Perl for scripting, Lalo Martins, 2000/06/28
- [Freeciv-Dev] Re: Perl for scripting (Re: Plans for 1.12), Lalo Martins, 2000/06/28
- [Freeciv-Dev] Re: Perl for scripting (Re: Plans for 1.12),
Steve Hodge <=
- Message not available
- [Freeciv-Dev] Scripting (was Re: Perl for scripting), Dan Sugalski, 2000/06/28
- [Freeciv-Dev] Re: Scripting (was Re: Perl for scripting), Lalo Martins, 2000/06/28
- [Freeciv-Dev] Re: Plans for 1.12, Reinier Post, 2000/06/26
- [Freeciv-Dev] Re: Plans for 1.12, Tomasz Wegrzanowski, 2000/06/26
- [Freeciv-Dev] Re: Plans for 1.12, Tomasz Wegrzanowski, 2000/06/26
[Freeciv-Dev] Re: Plans for 1.12, Tony Stuckey, 2000/06/20
[Freeciv-Dev] Re: Plans for 1.12, Reinier Post, 2000/06/21
|
|