alternatives to keyword parameters (was: Re: [Developers] Double quotes around keyword parameter values)
Jonathan Thornburg
jthorn at aei.mpg.de
Sun May 29 10:57:38 CDT 2005
I suggested the syntax:
# param.ccl
identifier commute_method "how should I commute to work?"
{
work_at_home :: "real geeks have DSL and work at home ==> no need to commute"
walk :: "low-tech but works fine"
S_bahn :: "not that cheap, but works well"
bicycle :: "medium-tech, works great if you're in decent health"
car :: "useful for speeding up global warming"
} "walk"
xxxxxx
Oops, probably don't need those quotes...
ciao,
--
-- Jonathan Thornburg <jthorn at aei.mpg.de>
Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut),
Golm, Germany, "Old Europe" http://www.aei.mpg.de/~jthorn/home.html
"Washing one's hands of the conflict between the powerful and the
powerless means to side with the powerful, not to be neutral."
-- quote by Freire / poster by Oxfam
More information about the Developers
mailing list