Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
IvyMike
5y ago
0 comments
Share
Regular expressions as a first class language feature.
undefined | Better HN
0 comments
default
newest
oldest
cutler
5y ago
Ruby also has this.
earthboundkid
5y ago
Ruby really is Perl done right. I can't really see any argument for Perl over Ruby as a language.
ulysses
5y 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
5y 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; }
1 more reply
empath75
5y ago
You should see some of the atrocities I had to debug at aol because of regex abuse.
j
/
k
navigate · click thread line to collapse