Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

masak (6289)

masak
  (email not shown publicly)
http://masak.org/carl

Been programming Perl since 2001. Found Perl 6 somewhere around 2004, and fell in love. Now developing November (a Perl 6 wiki), Druid (a Perl 6 board game), pls (a Perl 6 project installer), GGE (a regex engine), and Yapsi (a Perl 6 implementation). Heavy user of and irregular committer to Rakudo.

Journal of masak (6289)

Monday July 20, 2009
07:29 AM

The reverse boiling frog effect

[ #39322 ]

We don't always notice improvements when they happen individually over a long time. It's sort of a reverse boiling frog effect.

Seven months ago, around New Year, I tried out an idea of mine in Rakudo. The exercise dug up a lot of bugs, and I blogged about it. A few days ago, I tried the same thing again. The code is not yet ready to be pushed, so I can't show you (sorry), but I wanted to share how different it is to write in Perl 6 on top of Rakudo now, as compared to half a year ago. I hadn't realized how much had happened.

You see, I took a look at my 100 lines of code from December/January, and immediately thought this calls for a rewrite.

My new solution was based around classes. It was much neater. The old code contained some pretty hefty workarounds related to array indexing. Nowadays, classes work much better, and the array indexing bug is long gone. The encapsulation into classes also made for a cleaner design, standing on the shoulders of which I could solve my problem a little further than last time.

The blog post I wrote in December was called "Scripters, now is the time!" because Rakudo was 20% an interesting development platform and 80% in need of eyeballs to dig up shallow bugs. Now, half a year and 1264 Rakudo-commits later, I feel the figures have been reversed. What's nice is that I can still call out "Scripters, now is the time!" and mean it just as much. Rakudo rocks a little more each day.

Come join the party.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.