Python 2 is OK, but there's nothing that it does that Python 3 doesn't do as well or better. Why use a language that's worse in every way in which they differ?
The actual biggest reason is the new style print function. I'm lazy and making a few extra keystrokes is enough to deter me. I get that it's lazy, and I get that it's not nearly enough of a change to worry about, but since you're asking, that's a big reason.
The other side is that nowadays I don't run into any sort of unicode troubles, and that I don't seem to actually benefit too much from the yield from stuff since I'm never writing anything that would need to be a generator.
I'm trying to think of the big killer features that aren't backported to python2... F strings? I guess that's nifty.
That's an awful reasons. Like, really, really basic. With that reasoning, all your variables should be 1-3 letters long.
If it's so hard for you, get a snippet for print in your preferred editor.
If it's so hard to migrate, there's tools like 2to3 to do all that for you (The print function conversion and more).
I can understand being reticent when you have a lot of legacy code in python2 or specific libraries that are not yet ported but the horrible implementation of print is about the worse reason I can think of. It's almost a newb programmer excuse but I'm sure that's not your case.
I'm never writing anything that would need to be a generator.
sigh. The irony of being lazy but not using "lazy"
Again, I don't care that it's lazy or a bad excuse, it's that it's too much of a change personally for me to feel good about it.
The migration isn't a problem either, it's just that it's a bummer to add the parens everywhere.
Trust me, telling me it's wrong or even berating me (not that you're doing the latter) won't convince me, there needs to be like a tangible reason. Something that's like 'man I can't not have this', and across the entire thread, how many people were able to answer?
Otherwise everyone's telling me I'm wrong, new, or lazy (which I admitted right out the gate). I know I'm personally pretty foolhardy, but not many people besides you are making an effort. It's proving my point, I think.
30
u/kkjdroid Dec 14 '17
Python 2 is OK, but there's nothing that it does that Python 3 doesn't do as well or better. Why use a language that's worse in every way in which they differ?