Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Perl VS Python (no VS)

by shmem (Canon)
on Oct 16, 2009 at 21:30 UTC ( #801656=note: print w/ replies, xml ) Need Help??


in reply to Perl VS Python

My co-worker keeps telling me how Python is 'powerful' every single day...

Invite him to get an alternate view. The computer doesn't "do" anything, and Perl and Python are each just a glass bead game by themselves.

It's not Python nor Perl which are powerful, it is the mind wielding those tools.


Comment on Re: Perl VS Python (no VS)
Re^2: Perl VS Python (no VS)
by Anonymous Monk on Mar 25, 2011 at 03:05 UTC
    The problem I have with python is the data typing. Try this in python:
    x = " 10 " # spaces in the declaration y = 5 z = x + y
    I know this is a no-no but the point is this is no problem in perl. In python you need to convert the data into int. I think a scripting language should handle this for the programmer. python also has a datatype "None" which is very annoying. It can be very annoying when you get data returned from a subroutine that is data-type "None" and then you need to figure out how to get it back to a string. That's python. Python also seems to take away the Perl feature of "There's more than one way to do it". I like this feature and I think a lot of Perl programmers do too.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://801656]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2014-12-18 18:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (59 votes), past polls