Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You're right, that's pretty C/Python-like. Nice. In fact, I've often thought that Python could make the syntax "n..m" expand to "range(n, m+1)" or equivalent.

However, Python's TOOWTDI comes to mind. Not that it's quite true, but probably closer than with Ruby. I guess one could debate whether TOOWTDI is a good thing -- but I reckon Perl is the argument as to why it is a good thing.



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

Search: