r/programming • u/stesch • Aug 30 '08
Tour De Babel -- Rant about programming languages (at Amazon)
http://steve.yegge.googlepages.com/tour-de-babel
15
Upvotes
r/programming • u/stesch • Aug 30 '08
View all comments
Show parent comment
2
u/13ren Aug 31 '08 edited Aug 31 '08
You're right there are semantic differences, for Python. Javascript allows the above (ie. return a function pointer from the function definition expression). I think it's a good thing.
The other semantic change you mentioned (lambda version wouldn't accept a name) isn't necessary. You make the name optional, for all cases; implying you could also do this:
That's how it is in Javascript - not saying JS is the ultimate language, just that it's possible (I do think JS is elegant - just browsers/DOM aren't)
However, I'm happy to accept Python as it is - just curious.