Follow

hot take: spaces vs tabs is silly

we need indent/deindent characters for when your indentation level changes, not ridiculous whitespace hacks

broke:

if True:
<tab>print("hello")
<tab>print("world)

woke:

if True:
<indent>print("hello")
print("world")

I'm realizing I might actually feel strongly about this

using tabs and spaces for indentation is like reversing the characters in an RTL dialect -- it's a hack, and doesn't actually describe the semantic that you want

@christianbundy sexps are basically this, except the indent and deindent characters are visible.

Sign in to participate in the conversation
social.coop

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!