how soon would you have difficulty reading your own code?
lisp → 5 years
python → 5 years
java → 5 years
JavaScript → 1 month
how soon would you have difficulty reading your own code?
lisp → 5 years
python → 5 years
java → 5 years
JavaScript → 1 month
@xahlee depends on how you write and document it. I can still read _drivers_ I wrote in the 1990s (C++ CodeWarrior, classic MacOS). Javascript, likewise, can be written in a disciplined, documented way.
The question is what percentage of code needs to be readable after 3-4 years? Obviously, there is some (some of it quite critical and in for a ridiculously long life) -- but I suspect the average lifespan of a line of code these days is 18-24 months.
Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.