3 ms·
It's almost crazy to think this already isn't just a thing. Why is this just coming to a head now, after all these years of carrying on over code formatting?
by overcast 10y ago
It's almost crazy to think this already isn't just a thing. Why is this just coming to a head now, after all these years of carrying on over code formatting?
- nine_k 10y agoI bet you heard of "go fmt".
- overcast 10y agoRight, but that's a single relatively new language.
- kajecounterhack 10y agoMany communities have been using their own solutions for it for a while (e.g pylint / pep8 if you've used Python, clang-format for C++, js-beautify for javascript, etc) and many companies use "linter as style enforcer" but you still need to watch out for some things that linters don't catch in most languages. FWIW if you use vim, this plugin is great: https://github.com/google/vim-codefmt https://github.com/google/vim-codefmt
- mrgoldenbrown 10y agoI'm not convinced it is just coming to a head now. I've seen automatic/forced formatting on projects at least as far back as 2000, when I entered the workforce.