News for hackers. Stuff that matters.
Re:The Hardest Program I've Ever Written by lolptdr on Wednesday September 09, 2015 @11:05PM (#10195965)
Has anyone done any comparisons to other code formatters of other languages? Or even other code formatters within Dart?

Wish I could gain more context on how big an arena of these types of programs. I'm a bit lost as to how important code formatters and beautifiers were until reading more on the difficulty of writing such a program by Mr. Nystrom.

Re:The Hardest Program I've Ever Written by eltaco on Thursday September 10, 2015 @03:33PM (#10200060)
For javascript, there's been jsbeautifier [1], jsfmt [2], uglify.

JSCS [3] added autofixing a while back for most whitespace rules, and ESLint has just begun autofixing as well [4]

[1] http://jsbeautifier.org/ [2] https://github.com/rdio/jsfmt [3] http://jscs.info/ [4] https://github.com/eslint/eslint/pull/3635