Docendo discimus

$self->explain

  • Calendar

    October 2014
    M T W T F S S
    « Sep    
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Archives

  • Recent Posts

  • Bling

Posts Tagged ‘perl is alive’

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 »

When Perl 5.11 will be available?

Posted by brunorc on August 21, 2009

Well, it’s also up to you.

There were many community-oriented topics on YAPC::EU 2009, especially during the lightning talk sessions. At some point Jesse Vincent, The Man With Purple Hair entered the scene and shared the thrilling message with the audience: You can help releasing Perl 5.11 with even more important addition and you don’t have to hack on any code. What is needed, is to sort commits into appropriate categories – mostly it can be done based on the commit message.

This essentially means that everyone can try. Just go to the Perl 5.11 Changelogger and start being a rockstar. You may also see what are all those people doing, you may get familiar with the new features – but you can also get into the Top Ten. Or Top Eleven, in that case.

Just take a look at the legend, to know the what-is-what. Tags have hotkeys, so it’s quite easy to use the page. In return, you’ll get your shiny Perl 5.11 sooner. With a pony!

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

 
Follow

Get every new post delivered to your Inbox.