3 ms·
Is the difference between 2 and 3 so huge that it is not possible to make a jump?
by geekam 14y ago
Is the difference between 2 and 3 so huge that it is not possible to make a jump?
- masklinn 14y agoIt's definitely possible (and not really hard), but I understand the mindset: if you're coming from an other platform, why bother with switching when you can wait a bit and just start with Python 3?
- slurgfest 14y agoBecause Python 2.7 is completely mature and production ready and also allows you to write code which runs pretty easily on Python 3. Then you are marking Python 2.7 as deprecated version at the time where before you would have been just getting started. Really this is down to whether you want to do something in Python now, or you want an excuse not to do it in Python for some time. It's not a bad excuse but it's also not a strong reason to wait.
- symbiotic 14y agoHere is my thought process... Regardless of how you feel about PHP, I've spent enough time with it that I can make it work and write good code, quickly. I do want to switch to another language at some point (I'll leave the reasoning for that out of this discussion). Why switch to Python 2.7 if it's going to be old in a year or two? Even if there isn't a huge difference between 2.7 and 3.x it sounds like it would be a nightmare trying to upgrade any of the old work that I would have done in 2.7. So either I've got some projects that will be on 2.7 forever, or I go through the hassle of trying to upgrade. I'd rather just wait and avoid the whole debacle.
- fayden 14y agoThere are ways to write Python2 code that will work when you make the switch to Python3. It _is_ a hassle, but it's quite doable. This may not convince you (and I perfectly understand why), but I think it's worth giving Python a shot even if you're fluent in another language.
- symbiotic 14y agoInteresting, I'll look into it!