After playing around with Go a bit I'm fairly convinced that I'd like to find a `gofmt` for Java and beg every Dataverse contributor to use it.
If you're unfamiliar with gofmt,
https://blog.golang.org/go-fmt-your-code provides a nice overview of why you would want to programmatically format all the code in a project using a tool that is not tied to any IDE:
- easier to write: never worry about minor formatting concerns while hacking away,
- easier to read: when all code looks the same you need not mentally convert others' formatting style into something you can understand.
- easier to maintain: mechanical changes to the source don't cause unrelated changes to the file's formatting; diffs show only the real changes.
- uncontroversial: never have a debate about spacing or brace position ever again!
Is there a different command-line tool you would prefer? Please let me know! Thanks!
Happy hacking!
Phil