3 ms·
100%, way this felt in practice at Google was I could have whatever I wanted in my IDE, and it'd be transformed upon check-in into the house style, which I don'
by refulgentis 2y ago
100%, way this felt in practice at Google was I could have whatever I wanted in my IDE, and it'd be transformed upon check-in into the house style, which I don't need to care about
FWIW, just happy to have a chance to unload this thought finally: it had surprisingly little impact on code reviews, in that the "personal preference I need to enforce" just ascended abstraction levels.
- ukuina 2y agoDoes the IDE transform the existing code in the repo back into your preferred style on the next checkout?
- refulgentis 2y agoMaybe I cant remember right, but IIRC any IDE in use there (same ones as outside, there's nothing special) had a setting for tabs vs. spaces / indentation size And yes, that doesn't help you if ex. your style is a blank line following every code line. In practice, it works, I surmise because people are fine with someone else's code being in a different style, but they want to write in their style.