News for hackers. Stuff that matters.
Re:Plan 9 Coding Conventions for C by papsosouid on Wednesday May 22, 2013 @10:56AM (#5751287)
As maw points out, that is not a pure win, it is a tradeoff. And it is a tradeoff that I've found to be a really bad one. Being able to run indent over your code and have it automatically formatted is really helpful in large, long term projects where people come and go and weren't effectively forced into using one style.
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.