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

I'm curious as to what you think is "magical" in Ruby. If anything, I've found it to be reasonably un-magical as a language. Rails is certainly "magical", but that's a different thing.


method_missing is a prime example. The case of a variable indicating scope and optional brackets are both less magical but still magical in their own right.


But `method_missing` isn't magical, is it? It's entirely logical, well specified, and obviously derived from its Smalltalk message-passing history.

'Missing' brackets are merely a syntactic choice, though I will grant you that variable case is quite weird (though in that sense, I suppose Go is magical too :))




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

Search: