Perl or Python?
-
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.
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!
-
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.
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
-
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.
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.
-
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.
What about Smalltalk?
Hi! I'm a signature virus. Copy me into your sig file and help me spread!
-
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.
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
-
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();
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.
-
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!
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.
-
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.
-
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
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.
-
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.
-
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.
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();
-
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.
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
-
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.
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
-
No, the assembler in that case was the guy with the screwdriver and the wrench, putting it together.
Software Zen:
delete this;
-
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.
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.
-
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.
I'd go for Python first as it's very easy to learn but extremely powerful if you need it (and unlike C++ it only introduces this complexity when you need it :-D ). I've had a look at Python and as I said it's suprising how easy it is. If you want a book look at "Dive Into Python" by Mark Pilgrim, ISBN: 1-59059-356-1 I've found it a great book to get started, certainly not a reference book but a few hours saw me reading through about 5 chapters and understanding it all. Besides since it's so easy you can learn it in a month or two then try your hand at Perl :-D The only reason that I haven't "learnt it properly" is that I havn't had a suitable program to need to use it. But it looks promising all the same. As of Perl I have no clue but from what I've heard it's an arcane syntax and a b**** to understand.
-
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.
Python is everything that a programming language should be, and more. Python is all about usability for the developer. When was the last time you honestly thought that the language developer had your interests _first_, instead of feature bloat, etc? It's extremely hard to articulate how easy it is to utilize this language. Best of all, with its OOP feature set, Python scales to fit even the largest of applications. Have you ever used an application that you sat down to and all of the features seemed to be just in the right place, and the corresponding labeling had just the right verbiage, and you hardly ever had to reference the manual because for every task you wanted to carry out, how you predicted to accomplish this task, was correct? That is what you will experience with Python. Python is all about Getting Things Done. It has a predictable syntax and a consistent styling that makes it easy to read. You'll finally enjoy programming again. Python and the Programmer[^] The Zen of Python[^] ** Pay attention to the section "Productivity over Performance" Jim QTExtender - The OFFICIAL addon for QuoteTracker.
-
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.
Neither. Unless you have a very specific project for which Perl is the overhwelming answer, I completely fail to see the point. (I once worked with a strong Python advocate. Problem was I could do everything in C++ he could do with Python because I had a set of rich class libraries I had developed over the years. In the end, we dropped all the Python stuff because it was a pain setting up new build environments and getting them to run correctly.) Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
-
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.
Perl is excellent for small programs and scripts. For text processing it's the best, hands down. I very much recommend it for such purposes. I wouldn't use it for bigger programs though, since the features that make it so well-suited for scripts quickly become counter-productive in larger projects. But for small program I favour it over Python. But that's just me of course :-D Why not try OCaml? It's fast, beautiful and feature packed. :)
-
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.
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
Not even from the local zoo? ;P