4 ms·
(A.R. essay, 2011.12:) 'Because as it stands, Python 3 is the XHTML of the programming language world. It's incompatible to what it tries to replace but does n
by ableal 14y ago
(A.R. essay, 2011.12:)
'Because as it stands, Python 3 is the XHTML of the programming language world. It's incompatible to what it tries to replace but does not offer much besides being more “correct”.'
Ouch. Too close to the bone.
- fatbird 14y agoUnlike Armin, I think that being more correct is worth some pain because it leads to offering much more in the future. The alternative is PHP and its fractally bad design, where the legacy of accumulated, unfixed design flaws has made advancement almost impossible--which is why they have PHP 5.4 instead of PHP 6.0. You can add features within the context of those flaws, but at some point there are too many to execute the kind of overhaul you need. It would be interesting to see someone fork PHP and offer a 'correct' version that's clean and sheds all the baggage.
- graue 14y agoIt would be really useful if you could run both PHP 5.x and hypothetical PHP 6 code in the same interpreter process, so everyone wouldn't need to move over to the “more correct” version at once. I wonder just how hard that is to do. The approach doesn't seem to have been considered for Python 3, but, if possible, it would have saved lots of hassle.
- fatbird 14y agoAgreed, but I think they took a second approach that was also workable: Offer as much guidance and as many tools as possible (.e.g., 2to3, from __future__ import, etc), and then expect it to take years for the migration to occur. I don't know how possible it was to run both in the same interpretor process; I believe that it wasn't just because of the changes they were contemplating. Lots of people like myself have been following our key libraries, but it's worth noting that, at this point, the migration seems both inevitable and not terribly difficult since 3.3 fixes most of the complaints about .0 and .1, and a lot of struggle to migrate has already been accomplished and offered lessons learned.