user-pic

Nathan Grigg

  • Commented on On the relative readability of Perl and Python
    You can always do if test: i += 1 , no newline required. This is about the same as the Perl example. For list comprehensions, nothing is preventing you from using line breaks to make things more readable: values =...
Subscribe to feed Recent Actions from Nathan Grigg

  • Joel Berger commented on On the relative readability of Perl and Python

    No, the example had a print (well say) in it too, including that it must be three lines, but again that’s just a nit

  • Manuel Ceron commented on On the relative readability of Perl and Python

    I’m a Python developer but I started coding Perl full time since a little bit more than a year. It’s true that Python has many quirks. That happens with any language that is more than 20 years old. But I think Perl probably has more quirks than Python.

    I think one reason why people think that Python is more readable is because it’s simpler. Both syntax and semantics are simpler. Less operators, less constructs, less ways of doing things. In practice this means that you can understand any Python code after an afternoon. While the same thing for Perl takes years.

  • jjolla888 commented on On the relative readability of Perl and Python

    All languages suck. I have only come across one syntax that I mostly like (unfortunately you cant do much with that particular one).

    So Perl v Python arguments centered around syntax are somewhat irrelevant. You will find godawful things in both of them.

    For me, the only things that matter are:

    (i) lots of powerful libraries
    
    (ii) good documentation
    
    (iii) helpful communities
    
    (iv) speed [for some things]
    

    My main toolkit is made up of Perl, Python, Go, and C.

    Perl nails (i), (ii), and (iii). It is the super-glue that allows me to write small prog…

Subscribe to feed Responses to Comments from Nathan Grigg

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.