4 ms·
4. Some people have made an informed decision and prefer python 2 over python 3, even without considering dependencies/migration cost. (cue the downvotes)
by ekimekim 11y ago
4. Some people have made an informed decision and prefer python 2 over python 3, even without considering dependencies/migration cost.
(cue the downvotes)
- scrollaway 11y agoIf you get downvoted for that it's because Python 3 is objectively better than 2 in every way other than the points I listed above... Seriously. List one feature Python 2 has that Python 3 doesn't?
- coldtea 11y agoMassive compatibility with the biggest installed Python codebases? People already know it? The most used?
- scrollaway 11y agoAll points I listed above.
- coldtea 11y agoAnd still hugely important.
- scrollaway 11y agoekimekim said "even without considering dependencies/migration cost". Let's keep things in context.
- ekimekim 11y agoGood support for strings that you want to treat as text but have unknown encoding, the biggest example of which is all OS strings on posix systems. Being forced to treat all strings that aren't guarenteed to be valid unicode as a series of integers makes everything harder - parsing text-based protocols, text-based file formats, hell last I checked it was very non-trivial to write a version of "ls" which didn't crash if the directory contained a file called "\xff".