[Python-ideas] Warning on conditionals

Haoyi Li haoyi.sg at gmail.com
Tue Dec 17 21:01:28 CET 2013


> But no one uses prefix notation except programmers in languages like Java
and Lisp dialects without infix

And I must say, even in Java and Javascript, the libraries with APIs people
love often are the ones who use heavy method-chaining, like Guava and
JQuery and Underscore. Other than the fact that the method names are
alphanumeric instead of symbolic, method chaining is basically infix
notation too.


On Tue, Dec 17, 2013 at 11:55 AM, Terry Reedy <tjreedy at udel.edu> wrote:

> On 12/17/2013 12:07 PM, Andrew Barnert wrote:
>
>> On Dec 17, 2013, at 7:14, MRAB <python at mrabarnett.plus.com> wrote:
>>
>
>  tmp.py:3: Using a conditional statement with a constant value (c)
>>>>
>>> It's the kind of thing that you could have in IDLE.
>>>
>>
>> We have multiple different linters and style checkers for a reason. Until
>> one of them is so clearly perfect that there's no need for the others, I
>> think it would be more useful to make it easier to integrate checkers into
>> IDLE than to try to duplicate their functionality.
>>
>
> There is an issue on the tracker to make it easy to integrate code
> checkers into Idle.
>
>
> --
> Terry Jan Reedy
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131217/ce8ecaec/attachment.html>


More information about the Python-ideas mailing list