3 ms·
And $$, and $?. Even Perl's $#x syntax to get the max index of @x seems to come from shell's $#. Also interesting, Ruby copied most of Perl's crazy variables [
by __david__ 12y ago
And $$, and $?. Even Perl's $#x syntax to get the max index of @x seems to come from shell's $#.
Also interesting, Ruby copied most of Perl's crazy variables [1].
[1] http://www.rubyist.net/~slagell/ruby/globalvars.html http://www.rubyist.net/~slagell/ruby/globalvars.html
- Mithaldu 12y agoRuby's goal was to be Perl, but better.
- __david__ 12y agoThen they probably shouldn't have copied the crazy obscure variable stuff ;-) (I say that as a Perl and Ruby fan)
- nikatwork 12y agoMatz admits that he might have stolen too much from Perl and got some "whale guts" over his shoes - but only a little. From the obligatory Yegge rant: https://sites.google.com/site/steveyegge2/tour-de-babel https://sites.google.com/site/steveyegge2/tour-de-babel
- Mithaldu 12y agoLinking yegge is quite pointless, since even in that little screed he demonstrates amply how he doesn't even know the basics of Perl and in fact knows so little that his judgement isn't worth the bytes that store it.