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

The problem is that Ruby's scoping rules aren't consistent. Sometimes it appears lexically scoped, but sometimes it acts dynamically scoped.

Sometimes this leads to funny looking code (if you know to avoid it) or truly inscrutable bugs (if you don't).



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

Search: