News for hackers. Stuff that matters.
Re:Why Perl? by BeetleB on Monday June 12, 2023 @12:55PM (#36296706)
> but a lot of it is the language itself making seemingly random changes in direction every few years.

Outside of 2 -> 3, I can recall only one or two instances of dealing with this in the last 15 years. One was the introduction of "with" and "as" as a keyword. The other one I can't even remember.

None of the code I have written on my personal PC in all these years needed modification due to these changes (all of them were in 3rd party code I needed to patch). I still have Python 2 scripts continually running! I have Python 3.10 installed, and never had to fix a broken script of mine since I switched to Python 3 several years ago.

> 10 years ago: range 5 years ago: xrange Today: range again, LOL!

Eh? When I began using it heavily (before Python 3 existed), both range and xrange were heavily in use - one was a list the other was a generator. Since Python 3 has been stable and fast (circa 2013 or 2014), it's been only range.

There are no comments on this comment yet.