News for hackers. Stuff that matters.
Re:Announcing Rust 1.0 Alpha by Morpholemew on Saturday January 10, 2015 @01:38PM (#8867487)
indent(1) is not idempotent, at least not in the configuration I tested, which makes it practically useless as an editor save hook or an SCM pre-commit hook.

Of all the C pretty-printers I tried (about a year ago), clang-format came closest but none were idempotent on the codebase I threw at it.

go fmt is idempotent, which means I use it in an editor save hook. I got used to the convenience, so now I miss an automatic formatter when writing other languages.

There are no comments on this comment yet.