On Tue, 2007-10-09 at 20:47 +0200, Guillaume Laforge wrote:
> Is there some reason (use case?) which triggered this idea?
> Frankly, I'm not too fond of mixing maps and parameters too much.
The parameter passing of Python (positional parameters, default values,
named parameters, excess positionals, excess named) is extremely
flexible and allows methods to have a large number of parameters that
no-one ever cares about. The graphics packages use this a lot.
However, it is core to Python but not to Java and Groovy. I can see the
use case but not the way the original example was set out. There need
to be ordering rules.
--
Russel.
====================================================
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Road m: +44 7770 465 077
London SW11 1EN, UK w:
http://www.russel.org.uk/