Category Archives: Uncategorized

My Recent Posts at The Perl Shop Blog

I also blog over at The Perl Shop Blog. Most of what I write about Perl anymore is over there. My recent pieces include:

Posted in Uncategorized | Tagged | Leave a comment

Subclassing vs Embedding in GoLang

This is a topic that I’ve seen pop up in discussions and articles about Go. The Go programming language does not support inheritance, but instead it supports composition via “embedding.” It can be a little hard to grasp the difference. … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

How to Cheep in Many Programming Languages (not a tutorial, but a spiritual journey)

I have a small problem. The first part of the problem is that I’ve been a Perl developer for the past decade— That came out wrong. Let me start again. I have a small problem. The first part of the … Continue reading

Posted in Uncategorized | Tagged , | 1 Comment

The Most Powerful Programming Paradigm in the World?

I’m not a hackathon kinda guy. I don’t get off on solving hard or novel problems. I don’t believe in contests. I’m not particularly energized by the idea that a whole bunch of us are trying to solve the same … Continue reading

Posted in Uncategorized | Tagged , , , , , | 1 Comment

Mopping up with Perl

I ported my DFW.pm Hackathon entry to the latest Perl dev release (5.19.9), the one with built-in sub signatures. I had originally designed it using the latest p5-mop and Алексей Капранов’s (Alexei Kapranov’s) signatures package. (I thought this was more … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Benchmarking Perl 6: How Ready for Prime Time Is It?

Here are the slides from the talk I gave at this month’s Boston Perl Mongers meeting, this past Tuesday: Benchmarking Perl 6: How Ready for Prime Time Is It? The talk examines: Perl 6’s suitability for “production.” (Your definition may … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

More Simple Stats with Perl 6

Last time, a time long, long ago, in a universe far, far away, I left you with the following Perl 6 code (or something like it). This code reads in a series of book heights and displays the number of … Continue reading

Posted in Uncategorized | Tagged , , | 4 Comments

Reason #2 Why We Write Unit Tests

Seen on DamnLOL… Ninety-nine little bugs in the code, Ninety-nine little bugs! You take one down, patch it around, A hundred and seventeen bugs in the code! (See also Twelve Benefits of Writing Unit Tests First.)

Posted in Uncategorized | Tagged , , , | Leave a comment

Some Simple Stats with Perl 6

When my daughter told me she was taking statistics, I wondered how she could do that without knowing any calculus. Then on second thought, I guess there is a certain amount you can do with statistics, even without knowing any … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

How Fast (or Slow) Is Perl 6?

In my previous post, I created a short, simple, sweet, and très élégant Perl 6 function to find all the primes up to a given maximum. Unfortunately, Rakudo spent over 11 seconds to find the 168 primes up to 1000. … Continue reading

Posted in Uncategorized | Tagged , , , | 5 Comments