News for hackers. Stuff that matters.
Re:A Prettier JavaScript Formatter by evmar on Tuesday January 10, 2017 @12:38PM (#13366831)
Yes, that's a good point. If you ever get a chance to compare to clang-format I'd be interested to read your results. My vague understanding is that clang-format has some sophisticated-ish algorithms for intelligently wrapping complex expressions. However, I also think its output is inferior on code like your .then() chain example.

There are no comments on this comment yet.