Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we abandon the hard-wrap policy going forward? #54

Open
mc776 opened this issue Jan 31, 2024 · 2 comments
Open

Can we abandon the hard-wrap policy going forward? #54

mc776 opened this issue Jan 31, 2024 · 2 comments
Labels

Comments

@mc776
Copy link
Contributor

mc776 commented Jan 31, 2024

I was looking at some recent commits and there's just so much more clutter in the diffs because I kept trying to re-wrap everything (only to realize afterwards we were told to aim for 72 not 80).

The additional clutter makes it harder to tell what exactly has been changed in a block of text, for a tradeoff that... well, nobody's told me who this benefits:
_

Our ultimate product for all this code is a Web page, which famously does not do any of the things that hard wrapping is designed to do.

Is anyone currently involved with the website actually using anything that can't do a soft wrap when a line would go out of the text area?

@mc776 mc776 added the question label Jan 31, 2024
@mc776
Copy link
Contributor Author

mc776 commented Jan 31, 2024

Trying to find where these 72s and 80s and whatever even come from gives me these:

https://stackoverflow.com/questions/4297574/do-i-need-to-wrap-email-messages-longer-than-72-characters-in-a-line
https://old.reddit.com/r/linux/comments/4m2kp7/where_does_the_72_column_linewrap_convention_come/ (most responses on this one are uselessly speculative and confabulatory)
https://talk.commonmark.org/t/default-line-break-handling-is-inconvenient/280?page=2
https://martin-ueding.de/posts/hard-vs-soft-line-wrap/

and this, which is pretty much the point I want to make here:
https://www.arp242.net/email-wrapping.html
(except, ironically, if you click "view source" the underlying text is also hard wrapped.)

@mc776 mc776 changed the title Can we just abandon the policy of non-functional line breaks going forward? Can we abandon the hard-wrap policy going forward? Feb 1, 2024
@selliott512
Copy link
Contributor

Let me think about it a bit. I do it, but I could probably do some more research into the pros and cons. You can certainly continue doing it as you currently are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants