in reply to Migrating from Perl to other language? Why would someone do that?
"Another guy stated that Python/Ruby are truly Object Oriented languages and it makes more sense to learn them."
This begs the question of whether a language has to be object-oriented to be worthwhile. Haskell (for example) is a very elegant programming language, but doesn't do OO at all.
And although Perl's built-in OO requires a little manual work, it's extremely flexible, supporting OO concepts like multiple inheritance that many other OO languages do not (including Ruby, Java and PHP).
It's flexible enough to build things like Moose on top of - and I'd argue that Moose offers a more powerful OOP framework than almost any other programming language. (Scala is probably the most mainstream programming language that offers OOP that rivals the Moose.)
"The question that's stuck in my mind though, is, why are people moving "away" from Perl?"
Don't believe the hype. Sure plenty of people are moving away from Perl, but many more than that seem to be moving towards it. Measuring such things as these directly is difficult, but there are proxy measurements.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Migrating from Perl to other language? Why would someone do that?
by einhverfr (Friar) on Nov 23, 2013 at 13:20 UTC | |
by tobyink (Canon) on Nov 23, 2013 at 14:26 UTC | |
by salva (Canon) on Jan 07, 2015 at 13:31 UTC | |
Re^2: Migrating from Perl to other language? Why would someone do that?
by taint (Chaplain) on Nov 22, 2013 at 02:06 UTC | |
by tobyink (Canon) on Nov 22, 2013 at 11:18 UTC | |
by taint (Chaplain) on Nov 22, 2013 at 14:18 UTC | |
by taint (Chaplain) on Nov 25, 2013 at 16:14 UTC |