Skip Navigation

Tabs are objectively better than spaces - gomakethings.com

gomakethings.com Tabs are objectively better than spaces

Yesterday, I shared some spicy takes. A few were particularly controversial—most notably, that I correct Gif the correct way (with a soft G)—but I also got a lot of emails asking me to elaborate on a few of them. Today, I wanted to talk about how tabs are objectively better than spaces. This won’t t...

Tabs are objectively better than spaces
170
TechNews @radiation.party irradiated @radiation.party
BOT
[HN] Tabs are objectively better than spaces

You're viewing a single thread.

170 comments
  • Original poster is right by all accounts, of course. Now, let's come up with exotic significant indentations.

    function xyz(a, b):
    |   var x = 2
    
    |   if true:
    |   |   do_something()
    |   else:
    |   |   do_something_else()
    
    |   anyway()
    

    Pro: Your editor no longer needs to implement indentation hints.

    Con: Looks obstructive if not highlighted like an indentation hint.

    Your turn.

You've viewed 170 comments.