Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
etal
on Aug 27, 2010
|
parent
|
context
|
favorite
| on:
What's better about Ruby than Python? - comp.lang....
Not disagreeing with you. In fact, the first example is one reason why "print" was changed from a keyword to a function in Python 3:
myfunc <- lambda x: (print x) or x*x # SyntaxError myfunc <- lambda x: print(x) or x*x # OK in Py3
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: