[Python-ideas] A suggestion for Python 3 vs Python 2

Ethan Furman ethan at stoneleaf.us
Thu Nov 14 02:35:34 CET 2013


On 11/13/2013 12:44 PM, אלעזר wrote:
>
> The Ruby Programming Language, 2.1.6.1: "spaces and method invocations":
> """
> Ruby's grammar allows the parentheses around method invocations to be
> omitted in certain circumstances.
> This allows Ruby methods to be used as if they were statements, which
> is an important part of Ruby's elegance. Unfortunately, however, it
> opens up a pernicious whitespace dependency.

Thanks for the example.  Personally, I wouldn't use the word elegance along with the phrase "opens up a pernicious ..."

--
~Ethan~


More information about the Python-ideas mailing list