Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I know Perl 5. What are the advantages of learning Perl 6, rather than moving to Python? [closed]

Tags:

python

perl

raku

Coming from a Perl 5 background, what are the advantages of moving to Perl 6 or Python?

like image 461
raldi Avatar asked Sep 23 '08 23:09

raldi


People also ask

Should I learn Perl or Python?

As seen above where both languages are good on their regard as per the applications they target, Python takes a bit of advantage over Perl as a first choice for a novice due to its clean and easy to understand code, whereas on other hand Perl outperforms Python when it comes to string manipulation operations and some ...

Why Perl is faster than Python?

It is very simple to code because it doesn't use whitespace. Perl has powerful options for String Comparison that helps in writing short and quick codes. Most input and output operations are faster when using Perl. Perl has a multi-purpose language.

Which is easy to learn Perl or Python?

Perl is a high-level programming language that's easier to learn when compared with Python. Python is more robust, scalable, and stable when compared to Perl. While Perl code can be messy, featuring many paths to accomplish the same goal, Python is clean and streamlined.

Why was Perl 6 renamed Raku?

Since backward compatibility is a common goal when enhancing software, the breaking changes in Perl 6 had to be stated explicitly. The distinction between Perl 5 and Perl 6 became so large that eventually Perl 6 was renamed Raku.


1 Answers

There is no advantage to be gained by switching from Perl to Python. There is also no advantage to be gained by switching from Python to Perl. They are both equally capable. Choose your tools based on what you know and the problem you are trying to solve rather than on some sort of notion that one is somehow inherently better than the other.

The only real advantage is if you are switching from a language you don't know to a language you do know, in which case your productivity will likely go up.

like image 94
Bryan Oakley Avatar answered Oct 03 '22 07:10

Bryan Oakley