Re: Let's make it official then... recommend max line length 88

"Stefan van der Walt" <[email protected]> Tue, 05 Sep 2023 09:42:00 -0700
Newsgroups gmane.comp.python.scientific.devel
Message-ID <[email protected]>
Hi Josef,

On Tue, Sep 5, 2023, at 08:58, [email protected] wrote:
> Why 88?

The black docs <https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length> provide a rationalization:

> *Black* defaults to 88 characters per line, which happens to be 10% over 80. This number was found to produce significantly shorter files than sticking with 80 (the most popular), or even 79 (used by the standard library). In general, 90-ish seems like the wise choice <https://youtu.be/wf-BqAjZb8M?t=260>.

I'm fine with 88 myself. The only concern I've heard is from a developer who stacks three terminals horizontally. But we're a long way removed from the original 80-character terminal width.

Stéfan

_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]