News for hackers. Stuff that matters.
Re:A Prettier JavaScript Formatter by pcwalton on Tuesday January 10, 2017 @10:04PM (#13371411)
> The fact that gofmt doesn't enforce some arbitrary line length is a blessing.

You don't have an infinitely long screen. You have some line length limit.

Re:A Prettier JavaScript Formatter by stymaar on Wednesday January 11, 2017 @04:01AM (#13372683)
You don't usually code for one screen since you're not generally coding for yourself alone. IMHO unlimited line length + editor soft-wrap is the best way to deal with the problem since it automatically adjust the size to the reader's screen.

Same for tabs for indentation[1], that allows the reader to set its own indentation width depending on its own preferences.

I don't really understand why people keep using spaces + fixed line length. Old habits die hard I think.

[1] tabs for indentation, space for aligning

Re:A Prettier JavaScript Formatter by flukus on Tuesday January 10, 2017 @10:37PM (#13371557)
It's infinitely scrollable though. Scrolling horizontally sometimes isn't a bad fallback.
Re:A Prettier JavaScript Formatter by pcwalton on Wednesday January 11, 2017 @11:45AM (#13375229)
Scrolling horizontally interrupts flow like nothing else!

99% of all software projects have a de facto or de jure line length limit for a reason.