Tuesday, May 21, 2019

New comment by mgkimsal in "“Python's batteries are leaking”"

> Still don't know how to do it "correctly" when writing Python 2-compatible code.

Does writing python 2 code stop being 'worth it' at some point? If so, where is that point? It sort of sounds like you're already there. There's still people using P2 at least in part because of all the hoops people are jumping through to keep supporting it, no?

I'm not a professional python dev, so it doesn't impact me as much as some of my colleagues, but 'backwards compatible' issues crop up in other platforms/langauges as well. Wordpress might be the biggest example in PHP. They've kept a minimum target language which is far behing 'current' or even 'currently supported', and it's been a catch 22. Hosts keep supporting PHP 5.4, for example, far later than they 'should' have, because people kept writing new stuff targeting PHP 5.4. WP 5 was, alas, a missed opportunity to target PHP7 as a minimum. :/



from Hacker News - New Comments: "WordPress" http://bit.ly/2WTonli
via IFTTT

No comments:

Post a Comment

Tor Browser 14.0.1

Article URL: https://blog.torproject.org/new-release-tor-browser-1401/ Comments URL: https://news.ycombinator.com/item?id=41988274 Points:...