Nikolai Weibull
3/6/2005 3:12:00 PM
* Yukihiro Matsumoto (Mar 06, 2005 14:50):
> > Isn't that a little bit awkward-looking? Or am I just being too
> > sensitive about new forms of significant punctuation in the
> > language?
> Maybe, maybe not. It's very subjective matter.
Definitely. I'd write it as
x = lambda { ... }
if there weren't any arguments. It'd make it much more clear that it
was a thunk and nothing else.
(If there were arguments I'd consider skipping the proc/lamda:
x = { |a| ... }
),
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}