News for hackers. Stuff that matters.
Re:The Hardest Program I've Ever Written by philh on Thursday September 10, 2015 @08:53AM (#10197713)
It looks like this formatter isn't just for internal use, at a company that can buy each of their developers multiple 25-inch monitors. Not everyone has screen space to burn making their editors and terminals arbitrarily wide. If the majority of Dart code was formatted with a line length limit above 80, that would significantly deter me from exploring Dart.
Re:The Hardest Program I've Ever Written by greggman on Thursday September 10, 2015 @11:15AM (#10198546)
That would seem to rule out using around 99% of all open source projects then? I know of very few that have an 80 character limit.
Re:The Hardest Program I've Ever Written by munificent on Thursday September 10, 2015 @12:19PM (#10198932)
Dart's official style guide has always suggested 80 columns, so open source projects that follow that will be happy to have dartfmt do it for them.

If they want a different limit, it's configurable.

Re:The Hardest Program I've Ever Written by philh on Thursday September 10, 2015 @11:53AM (#10198755)
I don't contribute to many open-source projects. But I'd imagine Python would have a good track record, PEP8 specifies something like a 72-character limit.

That said, long lines in an existing project aren't a dealbreaker, if I have other reasons for contributing. (The one I'm working on now has them.) But if there's no reasonable way for me to write code in a language without breaking 80 chars, I'm not likely to choose that language for my own projects.