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

Ruby even uses some predefined globals (eg $_) that are pretty much straight out of Perl.

They exist, and while I'm a fan of $: over $LOAD_PATH I don't think I've even seen $_ used in the wild.



I don't really have the perspective to comment on how common they are, but they do exist. Ruby is full of little things like this, which one of the things I simultaneously love and hate about Ruby




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

Search: