-
Notifications
You must be signed in to change notification settings - Fork 20
Description
What's needed?
The currently advised column count is 88 (as per pyproject.toml). This looks like an already increased value from the good old 80x25 times (fun fact, back then we used to have a max column count of 78, because left and right margin columns where potentially used for ASCII line drawing, like editor border).
In today's world, 202x, most users have HD to UHD screens and a much higher terminal/editor width-and-height configuration, way beyond 80x25.
This value should certainly not go total mayhem, because a good maximum column count per coding line should still be conveniently be caught by the developer's eyes (excluding myself here).
Proposed solution
My proposition is to advise a character/column limit of 110. This value is a pure suggestion out of personal experience. I only rarely exceed the limit in cases were breaking it up would reduce readability.
This is more a decision process ticket with a tiny change to the project configuration. Future PRs might take advantage of this. :)
Use cases
Code is not always more readable if it's forcefully broken up into multiple lines. Sometimes it makes sense to have longer lines. Since the today's screen space is more than fitting, we should use it.
Alternatives and workarounds
No response
Additional context
NB: 3 years ago (2022), the Linux kernel coding guidelines also moved up from 80 to 100.