Author Archives: Tim King
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
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.)
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
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
Perl 6 and the Price of Elegant Code
The project that first made me fall in love with Perl… Perl 5 had recently launched, with new features for object-oriented programming, includable modules, lexically scoped variables, and references—including closures. At the time, I was writing boot code, diagnostics, and … Continue reading
Perl 6’s Top 3 Coolest Features
Perl 6 has some really cool features. Features I’d like to use in production projects. But is Perl 6 suitable for production? I keep hearing, no, because it’s unstable, the spec is still being hammered out, there are still too … Continue reading
This Site Is Such a Hack
I’ve been wanting to set up a software-development blog for some time. And for some time I’ve been wrestling with the pains of managing multiple WordPress blogs. Back in the day, when I had just my writing blog and a … Continue reading
State-of-the-Art Computer Folklore (part 4)
This is part 4 in my series of how the Mac reminded me why I fell in love with software development, and why it still matters. While reading Andy Hertzfeld’s anecdotes (and those of his colleagues) of designing the original … Continue reading
State-of-the-Art Computer Folklore (part 3)
This is part 3 in my series of how the Mac reminded me why I fell in love with software development, and why it still matters. While reading Andy Hertzfeld’s anecdotes (and those of his colleagues) of designing the original … Continue reading