Hacker News new | past | comments | ask | show | jobs | submit login

And you could use {} instead of do/end, but a Pythonista wouldn't consider that any more terse.



Yep, my mention of do/end or squigglies was just a caveat on the Ruby-is-more-terse-in-this-example statement in the context of anonymous functions or blocks. I wish there was a language that won on both terseness metrics--i.e. a Ruby with indentation or a Python with anonymous functions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: