+ 1
Why do I have to learn Python 3.x when I am used to using Python 2.x?
My first programming language is Python 2.x. I already fall in love with Python 2.x. I know that there is Python 3.x. But, I don't like learning some new changes in syntax and that's why I don't really want to learn Python 3.x. But, my friend said that Python 2.x has been discontinued to be updated and I better learned Python 3.x. Can you guys give me reasons or advantages of using Python 3.x instead of using Python 2.x?
2 Réponses
+ 3
the reason is clear. its gonna be discontinued lol
and py3 doesnt have that much difference
+ 1
You technically don't have to I guess. lol
But the only reason the old version still exists is not for you, but for companies / dev teams that cannot so easily apply changes to large programs or what not. So they're given large amounts of time to move over to 3x.
I'm not sure why you're reluctant to move to 3x, newer versions are always better for obvious reasons. The changes in Python 3x specifically aren't so massive that you literally need to relearn the language all over again. That's just silly.
I'm quite confident you will move on from tiny tweaks like division returning a float instead of integer.