Le mer. 14 mars 2018 à 17:29, Paul Moore <p.f.mo...@gmail.com> a écrit :

> Ironically, many of the places I see implicit concatenation used are
> where people need to work around linters complaining about line
> lengths. I understand the benefits of projects that mandate code
> passing lint checks, but I foresee sequences of commits:
>
> "Modify error X to be clearer"
> "Linter fix - split new message onto 2 lines to avoid long line"
> "Linter fix - explicitly concatenate with + because implicit
> concatenation is discouraged"
> "Linter fix - go back to the old message because the stupid linter
> complains about unnecessary addition of 2 constant values and I can't
> be bothered any more"
>

Haha, agreed, didn't think of that.
In my humble opinion, long lines are less of a problem with raw strings
(personal opinion based on html background).
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to