Comment Re:FIFY (Score 1) 183
Agreed. I think code is _much_ easier to read, understand and work with if it's always the exact same syntax, tabbing/spacing/commas, etc(I suppose the fact that almost every software project has style guidelines lends credence to this). For this sort of stuff, especially harder (ORM generated or handwritten) queries, I use a very niche program named sqlinform that does an amazing job at putting queries into "your" style. When I do cleanups, the queries usually go from indecipherable to easily understandable. It by default uc'd the keywords, which I never did before but now I find it quite a bit easier to work with.
I'm not affiliated with the software/author, but I'm continually impressed how just how bizarre this software's functions are, yet how useful it is.