DEV Community

Discussion on: Tabs VS Space

Collapse
 
gonedark profile image
Jason McCreary • Edited

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.

Collapse
 
katylava profile image
katy lavallee

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.

Collapse
 
gonedark profile image
Jason McCreary • Edited

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.