Strangely Consistent

Musings about programming, Perl 6, and programming Perl 6

It's about time

jnthn++ touched upon the subject. I thought I'd do the same. We're rewriting the Temporal spec from scratch. It's not the first time this happens, but for some reasons, this attempt feels better than the previous ones.

Ever since the Web.pm work had its course plotted in more detail — not to mention since the work on GGE — I feel I belong to the "shameless copycat" school of design. More specifically, in many domains not directly related to the Perl 6 core model, our best chance of success is likely not to be oh-so-clever, but to start with something that works well in some other language (big-sister Perl 5, Ruby, Haskell, JavaScript, what-have-you), adapt it to Perl 6 idioms, and ship it. In the case of Temporal, the clear winner was CPAN's DateTime, a subset of which is now in Synopsis 32.

Imitation may be the sincerest form of flattery, but basing your design on something that already works also seems a fairly safe way to make sure that the design you end up with isn't and abstraction-laden heap of wishful thinking.