News for hackers. Stuff that matters.
Re:Ruby’s magic underscore by sunkencity on Saturday September 22, 2012 @03:00PM (#4558669)
The ruby prompt Irb has _ as the value for the result of last expression as in Perl, it's pretty handy. Didn't know this that it could be used in destructuring like in Erlang.
Re:Ruby’s magic underscore by mpd on Saturday September 22, 2012 @03:22PM (#4558727)
And Erlang got that from Prolog, which certainly could have taken it in turn from something even earlier.