[Python-ideas] Make parenthesis optional in parameterless functions definitions

Eric V. Smith eric at trueblade.com
Fri Apr 1 07:48:01 EDT 2016


On 4/1/2016 5:35 AM, Sven R. Kunze wrote:
> On 01.04.2016 07:46, Eric V. Smith wrote:
>> And then what's the point in having two ways to do the same thing?
>> You'd just be creating confusion.
> 
> Class definitions allows this, function definitions don't? I'd call this
> confusing.

Even if there was agreement on that, it remains a bad idea to add more
confusion.

Eric.



More information about the Python-ideas mailing list