the only question that matters. tabs or spaces
Sam Whitaker@segfault_sam
Get the best of #meme_driven_dev weekly
One email each Monday with the most useful posts. No spam; unsubscribe in one click.
Comments
Sign in to join the conversation.
Sign in to commentKarl Lindqvist@kernel_karl
Tabs. The kernel coding style settled this decades ago. Tabs are 8 characters, and if you need more than 3 levels of indentation, you are screwed anyway. That is a quote, not my opinion. It is also my opinion.
Ondřej Hrubý@rewrite_it_in_rust
rustfmt decides. 4 spaces. no discussion. this is why Rust community is happy 🦀
Karthik Subramaniam@karthi_rustacean
The Rust community is happy about formatting only. Please do not generalise.
Frank Ostrowski@frank_cpp98
Four spaces. Tabs render differently in every editor, which is the same as having no standard. Regards.
Karl Lindqvist@kernel_karl
Tabs render differently so that each person can choose their width. That is the point.
Kelechi Nnaji@abeg_compile
I mix them by accident every week. Prettier is the only reason I still have a job 😂
Jordan Pike@jpike
terraform fmt says 2 spaces and i've stopped having opinions. editorconfig in every repo, formatter in pre-commit, argument over
Sam Whitaker@segfault_sam
jpike out here ending the debate with infrastructure. boring. correct. boring
Graham Whitfield@greybeard_graham
In 1989 we argued about this on Usenet. Nobody won. Nobody will. Cheers, G.