T
Tobias Weber
Hi,
the guideline (PEP 8) is hard wrap to 7x characters. The reason given is
that soft wrap makes code illegible.
So what if you hard wrap code but let comments and docstrings soft-wrap?
Otherwise it's hugely annoying to edit them. Say you remove the first
three words of a 150 character sentence. Either keep the ugly or rewrap
manually.
Or are there editors that can do a "soft hard wrap" while keeping
indentation and #comment markers intact?
the guideline (PEP 8) is hard wrap to 7x characters. The reason given is
that soft wrap makes code illegible.
So what if you hard wrap code but let comments and docstrings soft-wrap?
Otherwise it's hugely annoying to edit them. Say you remove the first
three words of a 150 character sentence. Either keep the ugly or rewrap
manually.
Or are there editors that can do a "soft hard wrap" while keeping
indentation and #comment markers intact?