News for hackers. Stuff that matters.
Re:Software Engineering at Google (2020) [pdf] by nine_k on Wednesday May 04, 2022 @02:37AM (#31257421)
Diffing an excessively long line is uncomfortable in most tools. A crash dump mentioning the 1000-character line leaves you thinking where in that line the error has happened.

The actual limit should be the complexity of one lihe, something like the number of AST nodes in it. But our tools which go back all the way to mechanical teletypes and punched cards are firmly line-oriented. This allows them to be language-agnostic.

Re:Software Engineering at Google (2020) [pdf] by thfuran on Wednesday May 04, 2022 @08:03AM (#31259308)
I think it's reasonable to have restrictions on both. Regardless of complexity, long lines make it hard to view side by side diffs on your screen.