Hasty Briefsbeta

Bilingual

Tabs vs. Spaces: The War Is Over

9 months ago
  • #programming
  • #coding-standards
  • #indentation
  • The debate between tabs and spaces for code indentation has been ongoing for decades.
  • A survey of popular programming languages shows that 90% prefer spaces over tabs for indentation.
  • Languages like Go, Odin, Hare, and Assembly are exceptions, recommending or requiring tabs.
  • Go enforces tabs through tooling, eliminating the option for spaces entirely.
  • The preference for spaces reflects a broader trend toward standardization in technology.
  • Despite the majority favoring spaces, the debate may never be fully settled due to personal preferences.