Hacker News new | ask | show | jobs
by cestith 1383 days ago
If you need new code you write today to run on 20 year old systems, don't use the newer features. Perl 5.36 is backwards compatible to code written for Perl 5.6 after all. If you need 20 year old code to run on new machines, the same thing occurs - you hand it to a recent Perl 5 and it works. Compare and contrast the last 20 years of PHP or Python.
1 comments

> If you need 20 year old code to run on new machines, the same thing occurs - you hand it to a recent Perl 5 and it works.

You're only noticing half of the picture.

If you want to write code that'll still run in 20 years, do the same.

Are you saying that in 20 years they'll have removed all the features added in the last 20 years?