Re:Black, the uncompromising Python code formatter, is stable
by solarmist on Saturday January 29, 2022 @09:23PM
(#30133218)
Auto formatters support paragraphs, but they don't support I'm going to give this paragraph 2 blank lines because it's particularly important/complicated/blah.
[ Parent
| on HN ]
Re:Black, the uncompromising Python code formatter, is stable
by mumblemumble on Saturday January 29, 2022 @11:14PM
(#30133954)
Typographic standards typically don't, either. Fortunately, there's more than one way to convey emphasis.
Also, single functions that are long enough to contain something analogous to paragraphs are arguably not Pythonic in the first place.
Re:Black, the uncompromising Python code formatter, is stable
by solarmist on Saturday January 29, 2022 @11:22PM
(#30134003)
For paragraph I just mean a series of 1 or more lines separated by a blank line vs no blank lines.
Re:Black, the uncompromising Python code formatter, is stable
by Mawr on Sunday January 30, 2022 @03:49AM
(#30135143)
Are there two blank lines between these parts of the code for a reason or did the person who wrote this code make a mistake?
If that part of the code is special for whatever reason, add a comment saying why.