4 ms·
Ok, here's a question I've been wanting to ask someone steeped in syntactic-whitespace languages. Do you find that two developers typing the same code will form
by jelder 9y ago
Ok, here's a question I've been wanting to ask someone steeped in syntactic-whitespace languages. Do you find that two developers typing the same code will format it the same way? How much would an auto-formatter change in your team's code?
- tombert 9y agoThere has been a bit of friction on that very point...Now we just agree on "four spaces all over the place". I know for a fact that an auto-formatter like `gofmt` or something would have avoided at least one argument, so it would probably would make the code better in some respects. That said, I like the whitespace. I like that it forces you to think about how the code is formatted and it tends to make the code a lot less verbose.