Hacker News new | ask | show | jobs
by inertiatic 2980 days ago
Well, this makes sense somewhat. Files will be edited incrementally to the point that nothing remains from the original. If you follow your strategy, the original style remains there until a large rewrite. If you make a point to always follow the official style, then at some point you'll automagically have a consistent codebase.
2 comments

I disagree that incrementally converting style is helpful. It's best to be consistent in a given file or module. Convert wholesale if so desired.
I think it depends on your environment. I've been in situations where code styles have progressed and changed over the years, faster than the file does, so you end up with a hodgepodge of different styles.