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

Sorry, maybe this isn't correct Ruby nomenclature, but I see Array simply as a global object, which can be modified, with rather obvious consequences. It's sad that I feel old enough to say this, but isn't this a problem that we solved a long time ago?

"Don't do that" is one solution, Alan Kay's idea of "worlds" is another.



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

Search: