Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
local variables in Perl and Lua
1
Name:
Anonymous
2011-07-22 21:32
I didnt get an answer for this in the Python thread, so I'll ask here: Why do variables have to have the local keyword to make their scope local? Why cant it just use implicit lexical scope like most any other languages?
41
Name:
Anonymous
2011-07-23 13:12
>>39
λ is too short for something that powerful.
42
Name:
Anonymous
2011-07-23 13:15
>>39
function and lambda are both way too long. honestly I bet half of all CL macros are just sugar to avoid having to type lambda.
43
Name:
Anonymous
2011-07-23 13:26
>>42
I find
lambda
acceptable in
call-with-*
/
with-*
functions, but yes, most of the times it's too long.
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List