Perl

A quick look at Perl 6

Raku..Perl 6 is a “new ” programming language just finally released for stable version in the end of the year of 2015. You might be thinking that Perl 6 is the next version of Perl 5. However, it’s not. Perl 6 is totally different language than Perl 5.

The General Design

Perl 6 is a multi-paradigm language that supports object-oriented and functional programming as well. It also comes with gradual or optional typing like Go (means that you can switch between to explicitly declare the variable type in the program). As a bonus, Perl 6 made parallel and concurrent programming easier. Well of course, it’s equal if not better than Perl 5 for system administration tasks.

Why use Perl 6?

Due to its modern capability while maintaining the Perl philosophy much better than any other language, Perl 5 users will feel like at home, just not inside your own house, but inside your neighbor house. Yes, it’s relatively new language, has newer features compared to Perl 5. However, currently, it doesn’t have modules as much as Perl 5 modules in CPAN, but that will change, of course with the help of the community and its users.

So should I not use Perl 5?

No, you should keep continue to use Perl 5. Perl 5 and Perl 6 are different beasts. They might looked same, but they are not in the design perspective. Perl 5 is already time tested over 20 years, and has numerous libraries and tools to make it really useful for most things.

 

Perl 6 made easy for beginners to use, and we’re all beginners to Perl 6.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s