News for hackers. Stuff that matters.
Re:Plan 9 Coding Conventions for C by Luyt on Wednesday May 22, 2013 @02:00PM (#5752618)
You can do that with Python code, too.

https://github.com/hhatto/autopep8

Re:Plan 9 Coding Conventions for C by papsosouid on Wednesday May 22, 2013 @03:04PM (#5753037)
Sort of, but not quite. It is quite easy to get situations where code is wrong because of indentation mistakes, copy+paste, etc. All autopep can do is make your wrong code look consistent. Languages with some sort of block delimiter can't get wrong in this manner, so it is safe to munge together random sources with various indenting messes and then just run a tool over them.