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

The precise semantics of ||= were subject to a longer discussion on ruby-talk. I don't think it's really that important whether it expands to 1.) a || a = b or 2.) a = a || b, is it? So all you would know about a person giving answer 1) is that he/she was subscribed to ruby-talk at that time.

I find his answer to his own questions about proc/lambda/blocks unsatisfying since that would be IMHO a good question to identify people who know ruby well.



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

Search: