Writing code that could still run decades from now

Programming different languages change. Libraries change. Some code from 5, 10, or even 19 years ago might still run and create expected results, whereas some code from 24 months might fail that has a syntax error. This is to some extent inevitable, since languages evolve (at the least, most do).

Doing any of these things may/will increase the number of work you want to do. I think which enables sense — each of these points can also be generated for how to publish good code, which is very difficult (i think). Sometimes you ought to violate some of such suggestions. That is properly acceptable, but be conscious of the costs.

Read More