Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Perl or Python?

Perl or Python?

Scheduled Pinned Locked Moved The Lounge
csharpc++javapythonperl
32 Posts 24 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Giannakakis Kostas

    I would recommend Python, as it's a more modern language. In my opinion however, nothing beats Perl when it comes to regular expressions. Also if you come from a C origin, Perl may seem more attractive. For GUI applications you will have more alternatives with Python (Tk, Gtk, Java). Whatever you decide, you will easily find plenty of documentation and source code examples. Both languages have an extensive library support. It would be easier to transform your script to an executable with Python. This way you can distribute your code without the need of a bulky installation file. Another not so mainstream alternative is Ruby.

    V Offline
    V Offline
    Vikram A Punathambekar
    wrote on last edited by
    #6

    Thanks for your comments, Giannakakis. I shall keep your advice in mind. I'll steer clear of Ruby for now though. I doubt if most people (esp the ones doing the hiring) in India have even heard of it. :^) Cheers, Vikram.


    "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

    1 Reply Last reply
    0
    • B Brian Delahunty

      Why not Ruby? Regards, Brian Dela :-) Blog^ Co-author of The Outlook Answer Book... Go on, order^ it today!

      V Offline
      V Offline
      Vikram A Punathambekar
      wrote on last edited by
      #7

      Why? :) Alright, I'll bite - I doubt if people here have even heard of Python itself. From what I've seen of the job market, neither Perl nor Python is in great demand, though Perl seems to have at least a presence. I have nothing against Ruby per se, but it is not mainstream, and almost nobody would recognize Ruby as a programming language if they saw it on a CV. *shrug* Cheers, Vikram.


      "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

      P R B 3 Replies Last reply
      0
      • V Vikram A Punathambekar

        Why? :) Alright, I'll bite - I doubt if people here have even heard of Python itself. From what I've seen of the job market, neither Perl nor Python is in great demand, though Perl seems to have at least a presence. I have nothing against Ruby per se, but it is not mainstream, and almost nobody would recognize Ruby as a programming language if they saw it on a CV. *shrug* Cheers, Vikram.


        "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

        P Offline
        P Offline
        Paul Watson
        wrote on last edited by
        #8

        Depends what market you are in. You will find Ruby rising as a requirement for web-developers. With the success of Ruby on Rails, Ruby itself is gaining attention. regards, Paul Watson Ireland Colib and ilikecameras. K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!

        1 Reply Last reply
        0
        • V Vikram A Punathambekar

          Why? :) Alright, I'll bite - I doubt if people here have even heard of Python itself. From what I've seen of the job market, neither Perl nor Python is in great demand, though Perl seems to have at least a presence. I have nothing against Ruby per se, but it is not mainstream, and almost nobody would recognize Ruby as a programming language if they saw it on a CV. *shrug* Cheers, Vikram.


          "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

          R Offline
          R Offline
          Rage
          wrote on last edited by
          #9

          Vikram Shannon wrote:

          I doubt if people here have even heard of Python itself

          Are you kidding ? It would surprise me if people would *not* have heard of Python. ~RaGE();

          V 1 Reply Last reply
          0
          • V Vikram A Punathambekar

            I'm thinking of learning a new programming language this year, and had almost settled on Python. When I was chatting with my boss the other day, he said it would be a good idea to learn Perl. We plan to use neither of these in our project, so work shouldn't be a factor here. What would you recommend - Python or Perl? Why? If you feel very strongly about some other* language, feel free** to recommend it. Again, why? * Leave out C/C++, Java, HTML and C# - I already know them. ** Anybody who recommends any derivative of BASIC will get kicked in the shins. :-D Cheers, Vikram.


            "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

            A Offline
            A Offline
            antonieb
            wrote on last edited by
            #10

            I think XSLT is a very good candidate. It uses XPath a lot internally, which means that you will also be able to learn XQuery easily. Since XML is used so much nowadays, that should definitely boost your CV. It also can be used in conjunction with, rather than in place of, your other skills.

            1 Reply Last reply
            0
            • V Vikram A Punathambekar

              Why? :) Alright, I'll bite - I doubt if people here have even heard of Python itself. From what I've seen of the job market, neither Perl nor Python is in great demand, though Perl seems to have at least a presence. I have nothing against Ruby per se, but it is not mainstream, and almost nobody would recognize Ruby as a programming language if they saw it on a CV. *shrug* Cheers, Vikram.


              "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

              B Offline
              B Offline
              Brian Delahunty
              wrote on last edited by
              #11

              Vikram Shannon wrote:

              I doubt if people here have even heard of Python itself.

              Are you serious?!? I'd be surprised if people here haven't heard of Phython... christ.. Google started as a Python app. Plus, there have been a good few posts about IronPython here on the lounge recently. Python and Ruby are fairly similar languages but Ruby is starting to come to the forefront more and more due to Rails. As regards Perl, yes, there are a few jobs out there and it's still used a bit but no where near as much as it was in the past. I'd say that if someone was looking to learn a new language now (or the interpreted rather than compiled type) with the aim of increasing their job prospects that Ruby would be the best bet going forward... unless of course you're after a job in Google... the last time I checked they still required Python experience for most of their engineering jobs. Regards, Brian Dela :-) Blog^ Co-author of The Outlook Answer Book... Go on, order^ it today!

              V 1 Reply Last reply
              0
              • V Vikram A Punathambekar

                I'm thinking of learning a new programming language this year, and had almost settled on Python. When I was chatting with my boss the other day, he said it would be a good idea to learn Perl. We plan to use neither of these in our project, so work shouldn't be a factor here. What would you recommend - Python or Perl? Why? If you feel very strongly about some other* language, feel free** to recommend it. Again, why? * Leave out C/C++, Java, HTML and C# - I already know them. ** Anybody who recommends any derivative of BASIC will get kicked in the shins. :-D Cheers, Vikram.


                "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                R Offline
                R Offline
                Roger Alsing 0
                wrote on last edited by
                #12

                I tried Boo.NET a while ago which is supposed to be a .NET hybrid of python. very cool stuff :) http://boo.codehaus.org/[^] -- modified at 7:52 Tuesday 17th January, 2006 http://www.puzzleframework.com

                1 Reply Last reply
                0
                • V Vikram A Punathambekar

                  I'm thinking of learning a new programming language this year, and had almost settled on Python. When I was chatting with my boss the other day, he said it would be a good idea to learn Perl. We plan to use neither of these in our project, so work shouldn't be a factor here. What would you recommend - Python or Perl? Why? If you feel very strongly about some other* language, feel free** to recommend it. Again, why? * Leave out C/C++, Java, HTML and C# - I already know them. ** Anybody who recommends any derivative of BASIC will get kicked in the shins. :-D Cheers, Vikram.


                  "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                  R Offline
                  R Offline
                  Rama Krishna Vavilala
                  wrote on last edited by
                  #13

                  You can learn python or ruby very fast. For me it was a few trips to the bookstore during lunch hour for a working knowledge. Obviously, it will take time to master any of the language. I cannot say the same is true for Perl. In my opinion perl is not as easy to learn as python or ruby.

                  1 Reply Last reply
                  0
                  • V Vikram A Punathambekar

                    I'm thinking of learning a new programming language this year, and had almost settled on Python. When I was chatting with my boss the other day, he said it would be a good idea to learn Perl. We plan to use neither of these in our project, so work shouldn't be a factor here. What would you recommend - Python or Perl? Why? If you feel very strongly about some other* language, feel free** to recommend it. Again, why? * Leave out C/C++, Java, HTML and C# - I already know them. ** Anybody who recommends any derivative of BASIC will get kicked in the shins. :-D Cheers, Vikram.


                    "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                    R Offline
                    R Offline
                    Roland Bar
                    wrote on last edited by
                    #14

                    What about Smalltalk?


                    Hi! I'm a signature virus. Copy me into your sig file and help me spread!

                    Follow your Euro notes in their tracks

                    1 Reply Last reply
                    0
                    • V Vikram A Punathambekar

                      I'm thinking of learning a new programming language this year, and had almost settled on Python. When I was chatting with my boss the other day, he said it would be a good idea to learn Perl. We plan to use neither of these in our project, so work shouldn't be a factor here. What would you recommend - Python or Perl? Why? If you feel very strongly about some other* language, feel free** to recommend it. Again, why? * Leave out C/C++, Java, HTML and C# - I already know them. ** Anybody who recommends any derivative of BASIC will get kicked in the shins. :-D Cheers, Vikram.


                      "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                      C Offline
                      C Offline
                      Chris Losinger
                      wrote on last edited by
                      #15

                      Perl is interesting. never done Python. PHP is simple if you know C. you could probably learn it in a couple days, if you want to make this year a two-language year :) or, you could try something a little more exotic like ML or Haskell. Cleek | Image Toolkits | Thumbnail maker

                      1 Reply Last reply
                      0
                      • R Rage

                        Vikram Shannon wrote:

                        I doubt if people here have even heard of Python itself

                        Are you kidding ? It would surprise me if people would *not* have heard of Python. ~RaGE();

                        V Offline
                        V Offline
                        Vikram A Punathambekar
                        wrote on last edited by
                        #16

                        Rage wrote:

                        Are you kidding ?

                        No. :| Don't get me wrong here, I'm not saying it's not well-used (after all, I'm looking forward to learn it, right?), I'm only saying people in my area don't seem to be aware of it. In the last 4 years that I've been looking at the Opportunities section in the paper, I've never seen an opening for a Python candidate. Cheers, Vikram.


                        "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                        R V 2 Replies Last reply
                        0
                        • B Brian Delahunty

                          Vikram Shannon wrote:

                          I doubt if people here have even heard of Python itself.

                          Are you serious?!? I'd be surprised if people here haven't heard of Phython... christ.. Google started as a Python app. Plus, there have been a good few posts about IronPython here on the lounge recently. Python and Ruby are fairly similar languages but Ruby is starting to come to the forefront more and more due to Rails. As regards Perl, yes, there are a few jobs out there and it's still used a bit but no where near as much as it was in the past. I'd say that if someone was looking to learn a new language now (or the interpreted rather than compiled type) with the aim of increasing their job prospects that Ruby would be the best bet going forward... unless of course you're after a job in Google... the last time I checked they still required Python experience for most of their engineering jobs. Regards, Brian Dela :-) Blog^ Co-author of The Outlook Answer Book... Go on, order^ it today!

                          V Offline
                          V Offline
                          Vikram A Punathambekar
                          wrote on last edited by
                          #17

                          Brian, Please see my reply to Rage above. Cheers, Vikram.


                          "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                          P 1 Reply Last reply
                          0
                          • V Vikram A Punathambekar

                            Brian, Please see my reply to Rage above. Cheers, Vikram.


                            "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                            P Offline
                            P Offline
                            Paul Cole
                            wrote on last edited by
                            #18

                            A work colleague gave me this link to a really cool online Ruby tutorial, even if you're not that bothered about learning Ruby, it's well worth a visit! :-D

                            V 1 Reply Last reply
                            0
                            • P Paul Cole

                              A work colleague gave me this link to a really cool online Ruby tutorial, even if you're not that bothered about learning Ruby, it's well worth a visit! :-D

                              V Offline
                              V Offline
                              Vikram A Punathambekar
                              wrote on last edited by
                              #19

                              WOW! :cool: Thanks, Paul! I've bookmarked it. :rose: Cheers, Vikram.


                              "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi.

                              P 1 Reply Last reply
                              0
                              • V Vikram A Punathambekar

                                WOW! :cool: Thanks, Paul! I've bookmarked it. :rose: Cheers, Vikram.


                                "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi.

                                P Offline
                                P Offline
                                Paul Cole
                                wrote on last edited by
                                #20

                                Vikram Shannon wrote:

                                WOW!

                                Oh yeh! :cool:

                                Vikram Shannon wrote:

                                Thanks, Paul! I've bookmarked it.

                                You've just reminded me to bookmark it myself :)

                                1 Reply Last reply
                                0
                                • V Vikram A Punathambekar

                                  Rage wrote:

                                  Are you kidding ?

                                  No. :| Don't get me wrong here, I'm not saying it's not well-used (after all, I'm looking forward to learn it, right?), I'm only saying people in my area don't seem to be aware of it. In the last 4 years that I've been looking at the Opportunities section in the paper, I've never seen an opening for a Python candidate. Cheers, Vikram.


                                  "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                                  R Offline
                                  R Offline
                                  Rage
                                  wrote on last edited by
                                  #21

                                  Vikram Shannon wrote:

                                  In the last 4 years that I've been looking at the Opportunities section in the paper, I've never seen an opening for a Python candidate.

                                  Yes, so will you never find an opportunity for a batch/shell programmer. Python, Perl and other script languages are usually used to programm tools, scripts that make life easier, but not to develop complete applications (IMO). ~RaGE();

                                  1 Reply Last reply
                                  0
                                  • V Vikram A Punathambekar

                                    I'm thinking of learning a new programming language this year, and had almost settled on Python. When I was chatting with my boss the other day, he said it would be a good idea to learn Perl. We plan to use neither of these in our project, so work shouldn't be a factor here. What would you recommend - Python or Perl? Why? If you feel very strongly about some other* language, feel free** to recommend it. Again, why? * Leave out C/C++, Java, HTML and C# - I already know them. ** Anybody who recommends any derivative of BASIC will get kicked in the shins. :-D Cheers, Vikram.


                                    "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                                    J Offline
                                    J Offline
                                    Jeremy Falcon
                                    wrote on last edited by
                                    #22

                                    Well, I don't know Python, so I'm gonna recommend Perl. Long story short, if you need to do text/input/data processing Perl is the way to go. Jeremy Falcon

                                    1 Reply Last reply
                                    0
                                    • V Vikram A Punathambekar

                                      I'm thinking of learning a new programming language this year, and had almost settled on Python. When I was chatting with my boss the other day, he said it would be a good idea to learn Perl. We plan to use neither of these in our project, so work shouldn't be a factor here. What would you recommend - Python or Perl? Why? If you feel very strongly about some other* language, feel free** to recommend it. Again, why? * Leave out C/C++, Java, HTML and C# - I already know them. ** Anybody who recommends any derivative of BASIC will get kicked in the shins. :-D Cheers, Vikram.


                                      "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                                      J Offline
                                      J Offline
                                      Judah Gabriel Himango
                                      wrote on last edited by
                                      #23

                                      Python. Because Python code is far easier to read and maintain IMHO. If you're writing UI apps, you'll have more options with Python. You can even get Python running under the .NET framework (with full access to Windows Forms): see IronPython[^].

                                      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Little House on the Flickr Judah Himango

                                      1 Reply Last reply
                                      0
                                      • P Phil Harding

                                        toxcct wrote:

                                        assembler buddy

                                        Isn't that what charles babbage used for development on his difference engine ;) Phil Harding.
                                        myBlog [^]  |  mySite [^]

                                        G Offline
                                        G Offline
                                        Gary Wheeler
                                        wrote on last edited by
                                        #24

                                        No, the assembler in that case was the guy with the screwdriver and the wrench, putting it together.


                                        Software Zen: delete this;

                                        1 Reply Last reply
                                        0
                                        • V Vikram A Punathambekar

                                          I'm thinking of learning a new programming language this year, and had almost settled on Python. When I was chatting with my boss the other day, he said it would be a good idea to learn Perl. We plan to use neither of these in our project, so work shouldn't be a factor here. What would you recommend - Python or Perl? Why? If you feel very strongly about some other* language, feel free** to recommend it. Again, why? * Leave out C/C++, Java, HTML and C# - I already know them. ** Anybody who recommends any derivative of BASIC will get kicked in the shins. :-D Cheers, Vikram.


                                          "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. don`t try to be clever ass wid me while you can`t.. - Adnan Siddiqi.

                                          J Offline
                                          J Offline
                                          Joshua Quick
                                          wrote on last edited by
                                          #25

                                          How about Lua[^]? It's small, fast, and very portable since it's written in pure C. Unlike Perl and Python, Lua was designed to be easily integrated into your C/C++ apps. You can use it to extend your app with scripted functions and even add callbacks back to your C/C++ code. From what I hear, its used in the gaming market. Even on PS2 and XBox.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups