Perl: the Markov chain saw | |
PerlMonks |
Re: Writing for backwards compatibilityby dragonchild (Archbishop) |
on Nov 08, 2005 at 19:06 UTC ( [id://506849]=note: print w/replies, xml ) | Need Help?? |
Update: Don't you just hate being completely and thoroughly being proven wrong? I do ... :-/ I've just spent a while rewriting Tree::Simple into Tree and reworking PDF::Template. After discussion with stvn, we decided to require 5.6 as a minimum Perl version. We don't see a lot of benefit in attempting to maintain compat with anything before that. In our work, we target 5.8.6 as a minimum. For one thing, Unicode is handled much better (though not perfectly) in 5.8, which is nice. As for other features, it's nice to know that one has a better toolbox to reach for, even if one doesn't use them on a regular basis (or ever!) Other languages have the same issue. For example, in JS, there's no reason to target anything under 1.5 - all modern browsers implement 1.5 (for some value of "implement") and attempting to write JS for pre-1.5 is an exercise in baldness. Ruby is the same way - 1.8 is the modern version, so I target it. (Ruby's dbi is written under 1.6, which makes it throw warnings under 1.8 - very annoying!) My criteria for good software:
In Section
Meditations
|
|