Skip to content
loading...

re: Tabs VS Space VIEW POST

FULL DISCUSSION
 

We need to make formatting simpler:

  1. Adopt a coding style…
  2. Automate it.
  3. Never think about it again!

In fairness, step 1 is the hardest. But the reward of step 3 far outweighs the pain.

 

Like how Go has gofmt. It's all opinionated in ways I don't like, but I guess you get used to it and at least you don't have to think about it.

 

Exactly. You're seeing this more and more in modern languages like Go, Python, etc. Formatting is just built-in to the language.

It takes some getting used to. But only because formatting has become such a personal thing.

code of conduct - report abuse