Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
earthboundkid
· 6y ago · 0 comments
Ruby really is Perl done right. I can't really see any argument for Perl over Ruby as a language.
Comments
[–]
ulysses
6y ago
Speed. I moved mostly to Ruby years ago, but when doing lots of text processing, a trivial script in Perl runs a lot faster than a similar trivial script in Ruby.
[–]
dhosek
6y ago
use strict. In Perl you can prevent something like the following from compiling. You can't with Ruby (unless they've
finally
addressed that).
$foo = 2; if (some_test()) { $fooo = 3; }
[–]
cutler
6y ago
Shouldn't that be:
my $foo = 2; ?
[–]
dhosek
6y ago
I was leaving the declaration implicit.