in reply to Honest question about Perl, Python and Ruby
Is Python or Ruby better/worse than Perl? or advantages of each Language?
Apocalyptically bad languages rarely (though not never) get much traction. Spectacularly awesome languages usually (though not always) wind up being used.
Most languages fall between the extremes. What determines their adoption winds up being a large pile of factors, but almost none of them can possibly be distilled down to "language is better/worse". Most deciding factors, really, can be succinctly, not-really-fairly, and totally-uninformatively lumped under "luck". And without contradicting those negative adverbs, also be not really untrue.
There's nothing Ruby can do that Perl can't. There's nothing Python can do that Ruby can't. There's nothing Perl can do that Python can't. Even aside from the (also not untrue, but still silly) argument of "they're all Turing-complete", they're all "dynamic" and "interpreted" and "scripting" and other fuzzy-but-still-useful subdivisions of the landscape.
What they are is different. They have different language structures, they have different community structures, they have different tendancies, they have different biases. They invite you to model problems and decompose processes differently, to express yourself to the compiler and to other programmers differently. You're not going to get a good description of those differences from anybody except somebody well-versed in all of them (which I'm not). And in fact, you really can't get it from anybody else either, since what will matter is how you relate to them, which is only partially determined by the language itself. It also varies depending on you (and for that matter, you-today aren't the same as you-5-years-from-now, so it's not even time-invariant).
Do you (/your team) know one better than the others? Then that's the right choice. Do you have an existing codebase in one? Then that's the right choice. Does one have an excellent set of existing libraries for your problemspace? Then that's the right choice. Does one sound more interesting to explore, even (especially?) not knowing it, and you have the resources available to indulge? Then that's the right choice. Do you not care about any of that, and just want to pick the one that'll get you the most/best paying jobs? Then count up job listings and pick that one (and hope you project right for the appropriate future term).
Do none of those apply, or provide definitive answers? Well, then obviously Perl is the right choice 8-}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Honest question about Perl, Python and Ruby
by Your Mother (Archbishop) on Feb 07, 2015 at 03:09 UTC | |
by Anonymous Monk on Feb 07, 2015 at 06:55 UTC | |
Re^2: Honest question about Perl, Python and Ruby
by roboticus (Chancellor) on Feb 07, 2015 at 16:06 UTC | |
Re^2: Honest question about Perl, Python and Ruby
by doom (Deacon) on Feb 11, 2015 at 19:57 UTC | |
by Your Mother (Archbishop) on Feb 12, 2015 at 00:27 UTC | |
Re^2: Honest question about Perl, Python and Ruby
by SimonPratt (Friar) on Feb 11, 2015 at 08:50 UTC |