Docendo discimus

$self->explain

  • Calendar

    August 2010
    M T W T F S S
    « Jul   Oct »
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031  
  • Archives

  • Recent Posts

  • Bling

Perl 6 – “shift @features”

Posted by brunorc on August 15, 2010

One thing I always liked in Perl was its flexibility and patience. While it may be difficult to start programming in Java without understanding the concepts of objects – or to start programming in C without the firm grasp of memory allocation – in case of Perl it’s enough to know how to use split, print and basic arithmetic operators, to be able to start writing useful programs. One can always reach for more, as Perl is able to provide the programmer with a lot of features.

That was true for Perl 5, and luckily it didn’t change with Perl 6 in regard to patience. What definitely changed, was the number of those features. Even when Rakudo Star is more a proof of concept and some features may not be implemented yet, it is a sheer joy to discover new aspects of this language (yes, some are already known to the users of other languages, but great artists steal, right?).

So, what will we get? Among many other things:

  • strong typing
  • function signatures
  • method overloading
  • new object model with roles and traits
  • grammars
  • new model of concurrency

The list is quite long and there will be a lot of items to shift from it. I’m really excited about strong typing, which along with function signatures makes it possible to overload the methods. Which I’m going to write about in the next post ;-)

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

 
%d bloggers like this: