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.

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 and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.