5 ms·
Regular expressions as a first class language feature.
by IvyMike 6y ago
Regular expressions as a first class language feature.
- empath75 6y agoYou should see some of the atrocities I had to debug at aol because of regex abuse.
- cutler 6y agoRuby also has this.
- earthboundkid 6y agoRuby really is Perl done right. I can't really see any argument for Perl over Ruby as a language.
- dhosek 6y agouse 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; }
- ulysses 6y agoSpeed. 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.