Spaces won because of editors that allow to treat them as tabs, removing the only downside.
post
Tabs won, and the best languages use them.
Remember, popularity is terrible metric and is not correlated to superiority or quality. Windows is still more popular than Linux. Yet someone drags this meaningless statistic out about once a year and flogs the carcass.
What in the fuck is that URL?
This article is the worst propaganda I have ever read
Leaded paint was predominant in the 19th and well into the 20th century. That neither made it the right choice, nor did it "win the war". This opinion piece does absolutely nothing to settle the debate, and instead is just dumps more gasoline on the fire.
I’ll use whichever is being used; all I ask for is consistency in a project.
It might have ended differently had they fixed tabs
there is still a problem if any programmers wish to use modern proportional fonts (because a space is no longer the same width as every other character).
Ewww, who uses non monospaced fonts for programming ?
Probably the same maniac using 8 spaces for indentation in C.
Yes, my uni professor used that, and he was indeed a maniac, a brilliant one.
Lmao I also had a brilliantly mad C teacher who used 8 spaces for indentation. Was yours from eastern Europe by any chance ?
Czech Technical University in Prague.
Run a code formatter on commit hook. Boom, never complain about tabs, spaces, or any other formatting nonsense ever again. Imo any time spent discussing formatting on PRs is wasted time that could be spent discussing the actual quality of the code.
GDscript also uses tabs, which I thought was an interesting choice by the Godot team. Especially as it seems so heavily inspired by Python.

all 4 comments