3 ms·
Why? Not downplaying how important our esteemed BDFL Guido is to Python, but I'll be flat out honest, aiming their sights on Python 2 just further entrenches i
by techdragon 12y ago
Why?
Not downplaying how important our esteemed BDFL Guido is to Python, but I'll be flat out honest, aiming their sights on Python 2 just further entrenches its eventual place as the COBOL of 2050.
Python 2 is DEAD to me. It should be dead to you. It's Dead with a capital D. Node.js wound up with all this fork nonsense in HALF the time Python 2.7 has been stagnating the Python ecosystem.
Python 2 only code is nuclear waste grade technical debt.
I haven't written a line of Python 2 in 6 months after 2 years of slow decline.
I now use Python 2 vs 3 as an interview question.
I run my tests on 3.4.x, 3.5-dev, and versions of HEAD that pass the Python test suite.
Why does Guido working on Pyston do anything but hurt the future of Python by legitimising the position that it's ok as a community of Python programmers, to keep accruing this technical debt ?
- shadowmint 12y agoPyston isnt python 3 compatible.
- svisser 12y agoPython 3 has no benefits if your Python 2 code works and many dependencies are not Python 3 compatible yet. Why would a company even port to Python 3?
- jsmeaton 12y agoThere aren't that many dependencies without py3 support anymore. Of course, if your project uses any then being stuck on py2 is a given. I still don't think projects should port to python 3 unless they need to be moved forward or continually developed. Greenfield projects should most definitely start on py3 though.
- duaneb 12y ago...because Python 2 has a shorter lifetime and shitty unicode/string support (compared to 3).
- coldtea 12y agoPython 2 is the kind of dead that everybody uses.
- baq 12y agoarguably the worst kind of dead, then.
- influx 12y agoWhat is your Python 2 vs 3 interview question?
- rdtsc 12y ago> Python 2 is DEAD to me. It should be dead to you You mean the kind of DEAD that has thousands of tested libraries supporting it and that runs and makes money in the bank. I like that kind of DEAD. Sign me up. > Python 2 only code is nuclear waste grade technical debt. It is nuclear fusion kind of code for me that just keeps making me money. > I now use Python 2 vs 3 as an interview question. What could you meangingfully interview about it? "Show me how to read this unicode file"? > I run my tests on 3.4.x, 3.5-dev, and versions of HEAD that pass the Python test suite. I run my tests on my code base and make sure they pass and have decent coverage. > Why does Guido working on Pyston do anything but hurt the future of Python by legitimising the position that it's ok as a community of Python programmers, to keep accruing this technical debt ? What technical debt. My code is clean and nice looking. There is no technical debt. But pray tell what are these great features you are using in Python 3 that Python 2 doesn't have and that just call for all this great excitement? I like me some fancy tuple unpacking and binary literals but not enough to go around yelling Python 2 is DEAD at anyone or to destabilize nice working code for it.
- belorn 12y agoI recently visited a website which back end could not parse non-ascii character for credit card information. Here I am, willing to spend perfectly good money, and the stone age website only want money from people whose name is made from a-z. Treating text and ascii as the same thing is bad. Its bad for technological reasons, its bad for economical reasons, and its just plain bad. If you think it "runs", it simply because all those customer who get "invalid character" error has gone over to a competitor and didn't bother to tell you.
- lumpypua 12y agoThis is the most insanely strawman argument against python 2 I've ever read. I've written thousands of lines of unicode aware python 2 code.
- rdtsc 12y ago> If you think it "runs", it simply because all those customer who get "invalid character" error has gone over to a competitor and didn't bother to tell you. Silly, that's not how sales of $500K-$1M products work.