[E-Lang] down with `define' (was: newbie syntax: picayune points from a prejudiced programmer)

Ka-Ping Yee ping@lfw.org
Sat, 3 Mar 2001 03:50:33 -0800 (PST)


> Waddaya think?

In all, fantastic.  Some of these simplifications are things i've
wished for for a long time.  The others all seem sensible.

One note:

> c) The thunk shorthand:
> 
>     _{ ... }

Flagging a thunk with "_" is, in my opinion, just silly.  This should
be explicit -- it should say

    thunk { ... }

or -- in grand Scheme and Python tradition --

    lambda { ... }

You could also consider "def { ... }", i suppose.  This permits
"def :any { ... }" etc.  (No name, no arguments means -- no name,
no arguments!)

As a side note, i'll mention that the "lambda" keyword in Python
has finally come to really mean "lambda", pretty much.


-- ?!ng

"The biggest cause of trouble in the world today is that the stupid people
are so sure about things and the intelligent folk are so full of doubts."
    -- Bertrand Russell