• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Python Question

Chuck

Fingers like lightning
Joined
Aug 29, 2007
Messages
620
Likes received
298
Thanks received
50
Location
Live in Devon. Work in London.
I'm going to learn python to add another string to my rather forlorn bow.

Python 3 seems the obvious choice, but there's so much python 2 out there that it looks like python 3 hasn't really taken off.

Is this true? Am I better learning 2 instead of 3? Are the differences so profound that learning one of them does not mean you can code in the other?
 
I'm going to learn python to add another string to my rather forlorn bow.

Python 3 seems the obvious choice, but there's so much python 2 out there that it looks like python 3 hasn't really taken off.

Is this true? Am I better learning 2 instead of 3? Are the differences so profound that learning one of them does not mean you can code in the other?

I'd wait for Python 4....
 
Python 2 is still widely used as there were breaking changes in Python 3 and number of projects rely on libraries which have yet to be ported.

It would make sense in my opinion to start with Python 3, 90% of which is compatible with the older version. You can easily understand the differences later when you know the language a little better.
 
Python 2 is still widely used as there were breaking changes in Python 3 and number of projects rely on libraries which have yet to be ported.

It would make sense in my opinion to start with Python 3, 90% of which is compatible with the older version. You can easily understand the differences later when you know the language a little better.

Brilliant, thank you.
 
I wouldn't claim to know a lot about it, but when I had to integrate Python into an application recently and use it to build some things I of course sought out the latest version which was Python 3. I soon realised that was a mistake as so much didn't work, and went back to 2.7.

If you're learning the language it probably doesn't make a huge difference, except if you're googling for examples to copy you're probably going to find near enough all are Python 2.

Introducing breaking changes into your own widely used language is pretty dumb. I would imagine Python 2 will still be in use for decades. Which is a shame as it's a hateful language (but that's another argument).
 
I wouldn't claim to know a lot about it, but when I had to integrate Python into an application recently and use it to build some things I of course sought out the latest version which was Python 3. I soon realised that was a mistake as so much didn't work, and went back to 2.7.

If you're learning the language it probably doesn't make a huge difference, except if you're googling for examples to copy you're probably going to find near enough all are Python 2.

Introducing breaking changes into your own widely used language is pretty dumb. I would imagine Python 2 will still be in use for decades. Which is a shame as it's a hateful language (but that's another argument).

You would have thought the history of Perl 6 (now over 16 years old) would be a clue in how (not) to manage language changes)
 
Python seems another fad.

The language itself seems full of holes and inconsistencies.

https://wiki.theory.org/YourLanguageSucks#Python_sucks_because

Strikes me as Visual Basic all over again.

By the time you learn, what looks like a poorly designed language, a new "fashion" language will be all the rage. Look at Scala a few years ago. Everyone was learning it. Perl and Ruby? Remember those? Must haves, now must be forgotten.

Computer Science is worse than the fashion industry....Apple Swift anyone? :laugh

Learn the consistent risers, and also use the Job sites to see which languages come up the most with the best rates.

http://blog.codeeval.com/codeevalblog/2016/2/2/most-popular-coding-languages-of-2016
 
Last edited: 10:26
Perl and Ruby are still going.
 

Advertisers

Back
Top