Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
earthboundkid
on June 24, 2020
|
parent
|
context
|
favorite
| on:
Perl 7 is going to be Perl 5.32, mostly
Ruby really is Perl done right. I can't really see any argument for Perl over Ruby as a language.
ulysses
on June 24, 2020
|
next
[–]
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
on June 24, 2020
|
prev
[–]
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
on June 24, 2020
|
parent
[–]
Shouldn't that be:
my $foo = 2; ?
dhosek
on June 24, 2020
|
root
|
parent
[–]
I was leaving the declaration implicit.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: