IT Community - Software Programming, Web Development and Technical Support

perl vs python

This is a discussion on perl vs python within the Python forums, part of the Software Development category; Dear friends, mod_perl or Python which could be the ideal choice for developing enterprises e-com applications ?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Python

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 02-10-2008, 10:02 PM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default perl vs python

Dear friends,

mod_perl or Python which could be the ideal choice for developing
enterprises e-com applications ?
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-10-2008, 10:06 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: perl vs python

Hello Suresh

From the technology point of view - both mod_perl (Perl) and Python are
equally powerful, scalable and feature-rich.

Python's syntax is cleaner and more readable than Perl. Python
emphasizes on the philosophy of "There should be one—and preferably only
one—obvious way to do it" - which means code written by one programmer
would be easily understood and maintained by others. Also, Python
"imposes" discipline on programmers in terms of indentation and syntaxes
- which allows large-scale applications maintainable in the long run.
Python is a lot easier to learn and master.

Perl, on the other hand is more like a magic wand. Perl gurus often
consider themselves as wizards/magicians with a powerful tool in hand.
Perl tends to be a highly expressive language rich in syntax and
emphasizes on the philosophy - "There should be more than one way to do
it". But in my experience, skilled Perl programmers today are becoming a
rarity. Perl as a language has a very steep learning curve when compared
to Python. Perl also has a reputation of being a "write-only" language.

But it is still considered as a language of choice for developing
applications that involve manipulating very large/complex data
(Bio-informatics, Data mining, Log processing, process automation and so
on). However, creating large-scale applications in Perl require proper
co-ordination amongst developers - which involve adhering to
well-defined and uniform syntax and semantics, coding standards and
guidelines.

If you are going to develop an enterprise e-commerce application that
would be maintained by many developers in the long run - many of who
might be new to both Perl/Python, I would recommend Python for quicker
productivity - unless of course, you are highly inclined to think like a
Perl wizard.

Thanks

Bluesky
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 09-29-2008, 05:54 AM
levelup levelup is offline
D-Web Trainee
 
Join Date: Sep 2008
Posts: 16
levelup is on a distinguished road
Default Re: perl vs python

Thanks for all your post, I have the same problem and now it has been sorted
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 01-07-2009, 09:16 PM
JOHN12 JOHN12 is offline
D-Web Trainee
 
Join Date: Dec 2008
Posts: 3
JOHN12 is on a distinguished road
Default Re: perl vs python

Quote:
Originally Posted by bluesky View Post
Hello Suresh

From the technology point of view - both mod_perl (Perl) and Python are
equally powerful, scalable and feature-rich.

Python's syntax is cleaner and more readable than Perl. Python
emphasizes on the philosophy of "There should be one—and preferably only
one—obvious way to do it" - which means code written by one programmer
would be easily understood and maintained by others. Also, Python
"imposes" discipline on programmers in terms of indentation and syntaxes
- which allows large-scale applications maintainable in the long run.
Python is a lot easier to learn and master.

Perl, on the other hand is more like a magic wand. Perl gurus often
consider themselves as wizards/magicians with a powerful tool in hand.
Perl tends to be a highly expressive language rich in syntax and
emphasizes on the philosophy - "There should be more than one way to do
it". But in my experience, skilled Perl programmers today are becoming a
rarity. Perl as a language has a very steep learning curve when compared
to Python. Perl also has a reputation of being a "write-only" language.

But it is still considered as a language of choice for developing
applications that involve manipulating very large/complex data
(Bio-informatics, Data mining, Log processing, process automation and so
on). However, creating large-scale applications in Perl require proper
co-ordination amongst developers - which involve adhering to
well-defined and uniform syntax and semantics, coding standards and
guidelines.

If you are going to develop an enterprise e-commerce application that
would be maintained by many developers in the long run - many of who
might be new to both Perl/Python, I would recommend Python for quicker
productivity - unless of course, you are highly inclined to think like a
Perl wizard.

Thanks

Bluesky

Hello,
Really a great info.

Thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-06-2009, 08:23 PM
Pieter Stefanus Pieter Stefanus is offline
D-Web Trainee
 
Join Date: Apr 2009
Posts: 21
Pieter Stefanus is on a distinguished road
Default Re: perl vs python

Hi,

Python tends to focus more on code aesthetics than performance; as a result, Python OpenGL developers continue to struggle with overcoming Python's array handling performance issues.
PyOpenGL v1 used native array handling, which is known to have significant performance issues; PyOpenGL v2 switched to SWIG, a C wrapper interface, which brought some improvements - however, the interface between Python's arrays and SWIG continued to be a bottleneck.

Perl is much simpler to port to/from C/C++/Java
Perl has a much larger repository of open source libraries
Perl has much stronger/faster string handling (dynamic shader programs)
Perl simplifies embedding values within text blocks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 06-12-2009, 08:57 AM
Michelle Keller Michelle Keller is offline
D-Web Trainee
 
Join Date: May 2009
Posts: 3
Michelle Keller is on a distinguished road
Default Re: perl vs python

From my point of view python would be a better option. Because, it's security system seems to be much stronger than Perl. Actually python is basically much preferred by the professionals for it's autonomously strong & secured facilities.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 10-01-2009, 05:43 AM
treker treker is offline
D-Web Trainee
 
Join Date: Oct 2009
Posts: 1
treker is on a distinguished road
Default Re: perl vs python

Perl is better because is more popular. Python have hard syntax.
__________________
hostgator coupon
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python-Perl Memory models JSureshkumar Python 3 02-04-2008 03:25 AM
How far Python Application server on WEB vivekanandan Python 0 07-20-2007 04:55 AM
How to set Perl Interpreter within perl script sivaramakrishnan Perl 1 07-19-2007 05:45 AM
Python Users nhoj Python 1 04-11-2007 11:54 PM
Why Python deerhunter Python 1 03-19-2007 03:45 AM


All times are GMT -7. The time now is 04:16 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0