Docendo discimus

$self->explain

  • Calendar

    November 2014
    M T W T F S S
    « Sep    
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
  • Archives

  • Recent Posts

  • Bling

Posts Tagged ‘Perl 6’

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 ;-)

Posted in Perl, Perl 6 | Tagged: , , , | Leave a Comment »

YAPC::EU 2010 in Pisa – short summary

Posted by brunorc on August 8, 2010

In very, very short words – it was awesome!

Talks were interesting, venue was comfortable, O’Reilly’s stand was well prepared, schedule was properly tailored, food was nice, people were fantastic, beer was tasty. Weather was good (well, compared to Amsterdam, almost every place provides nice weather) and the tower was leaning.

I really enjoyed talks about Perl 6, since Rakudo Star is already published and everyone was able to try the stuff from the presentation on his/her laptop. There was a lot of interesting information about signatures in Perl 6, presented by Jonathan Worthington: in Perl 6 you don’t have to unfold @_ manually anymore and you can have your parameters well typed. Yes, we can have strong typing! And you can define your types on the fly using the where keyword:

sub get_proper_answer ( Int $answer where 42:t ) {
    ...
}

And in case you desperately wanted – you can use Perl 6 signatures in Perl 5.

What else? If you lived under the rock recently, you would have to go to Pisa to get to know that Moose has reached version 1.0. However, you also would be able to meet a lot of people who was already using it (and liking it).

Not enough? Well, what about the opening keynote presented by Larry Wall with his family, and the closing keynote presented by Matt S. Trout with his new hair? Both were cool, being completely different though.

Want more? There was the most freaky, enthusiastic, robust and jolly community I’ve ever seen in my life – and I really enjoyed being part of it. So if you are freaky and enthusiastic as well, you will probably enjoy the next YAPC::EU in Riga.

This is only a short, chaotic summary, but I will try to organise my reminiscences into more detailed notes.

Posted in Perl, Perl 6 | Tagged: , , , , , , | 2 Comments »

Perl 6 in shops near you

Posted by brunorc on July 20, 2010

In case you didn’t know it yet – Rakudo Star will be released soon. Well, actually you can know exactly the day when Rakudo Star will be released.

So prepare your browser, download it, try it and then go to YAPC::EU 2010 in Pisa. And there will be much rejoicing!

And Magic. I still work on Vedalken (in fact that’s the reason why I not write about it) and I hope to reveal more code here soon. And of course in Pisa I will have a deck or two, just in case – I think Giel will bring them as well :-)

Posted in Perl, Perl 6 | Tagged: , , , , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.