Replies: 1 comment 2 replies
-
Blast radius is the reason for deprecating custom indentation rule, not line-wrapping HTML or any other language. Line-wrapping is generally favored for any language except when circumstances do not allow (e.g. hyperlinks cannot be line-wrapped no matter how long). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I guess we are not using line wrapping in HTML-like files. IIRC, we had good reasons for doing so (e.g., to reduce 'blast radius' when updating the content later). Line length is not normally a problem when using an IDE as IDEs can do soft-wrapping of lines.
But it does makes PR reviews a pain. e.g., #11049 Try reviewing instructor-help-page.module.ts and you'll see what I mean.
e.g., scroll right to read the line, then scroll down to find the horizontal scroll bar, then scroll left, then scroll up to find the location where I need to click the
+
button, and now I can't find which line I was reading in the first place!Beta Was this translation helpful? Give feedback.
All reactions