http://www.perlmonks.org?node_id=999486


in reply to Argument for Perl ( again and again )

1. Perl is as OOP as you want it to be. You can turn even the builtin types to objects ... though I see no reason to want to. Including PHP in the list is simply ridiculous.

Python? I don't know ... the only time I ended up finding any Python at all was e-book format conversions and Kindle format tweaks. PHP is the language of script kiddies. Agreed on JavaScript. Java is a marketing campaign not a viable language. If you want to hire a hundred off-shore monkeys to emit lots of LOC, then an overly talkative and insanely inefficient language like Java is probably a plus, but what if you want to get things done?

3. The presence of some kind of regex doesn't really mean much. Say C# does have a Regex class with a plethora of Match, Matches, MatchGroup, MatchWhateverTheyCouldComeUpWith classes, but the interface is simply so awkward and inconvenient that even I resort to regexps only if there is no other way. Not because the regexp would be so complicated, but rather because you've got to jump through too many hoops before you are allowed to write one. I seriously doubt Java is better in this regard, I'd expect it to be even worse.

It's like the difference between having a knife and being able to send the bread with a stamped, filled in request form to have it cut and sent back. There's a knife involved in the process somewhere, the difference is in its accessibility.

Jenda
Enoch was right!
Enjoy the last years of Rome.

  • Comment on Re: Argument for Perl ( again and again )

Replies are listed 'Best First'.
Re^2: Argument for Perl ( again and again )
by Anonymous Monk on Oct 17, 2012 at 08:42 UTC

    Including PHP in the list is simpli ridiculous.

    Why? Its object oriented

      Because objects/classes had been an afterthought in PHP just like they were in Perl. PHP added some syntactic sugar out-of-the-box and at the same time restricted the object system quite a bit more than the Perl's "we provide the hooks, polish and use them as you wish" way, but neither was designed to please the OO purists.

      Jenda
      Enoch was right!
      Enjoy the last years of Rome.