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

The syntactic ambiguity between method calls and variable references is intentional. It's not about saving 2 characters. It allows you to swap one for the other without editing the rest of the code.

I would say though that Ruby is a bit more complex of a language that people advertise. A novice will be bitten by these things, but someone who's worked with it full time for a couple weeks will not.

A language that excels at everything is an incoherent concept. There certainly are languages that are adequate at most things however.



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

Search: