Closed DAddYE closed 11 years ago
+1 for renaming def
to fun
. I think it fits in better in with the rest of the language.
no way! def is way better IMO, we'll need a terse lambda style token anyway, def or fun both look really weird in that context IMO, but I love def
at the root level, and to be quite honest the more I use closures the more I feel that closures just create a mess (within reason)
Mmm, I see! I like also the Guido
style!! :D That's the correct way!
what's that haha
Honestly I prefer def in OO, I see better
fun
inluna
especially for anonymous stuff (if you'll ever want to support it):but here I see the
js
problem where:a = func(){}
orfunc a(){}
?