• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • 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

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Python Question

    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?

    #2
    Originally posted by Chuck View Post
    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....

    Comment


      #3
      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.

      Comment


        #4
        Originally posted by CompulsiveArsonist View Post
        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.

        Comment


          #5
          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).
          Will work inside IR35. Or for food.

          Comment


            #6
            Originally posted by VectraMan View Post
            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)
            merely at clientco for the entertainment

            Comment


              #7
              Any recommended resources for learning python from scratch?

              Comment


                #8
                Originally posted by BillHicksRIP View Post
                Any recommended resources for learning python from scratch?
                Parrot sketch is always a good starter sketch.

                Comment


                  #9
                  Python seems another fad.

                  The language itself seems full of holes and inconsistencies.

                  https://wiki.theory.org/YourLanguage..._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?

                  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/codeevalblo...guages-of-2016
                  Last edited by DimPrawn; 29 May 2016, 09:32.

                  Comment


                    #10
                    Perl and Ruby are still going.
                    "You’re just a bad memory who doesn’t know when to go away" JR

                    Comment

                    Working...
                    X