Comment

Comment by DocTomoe

I think this is where a lot of the trouble comes from: Tabs are misunderstood as "whitespace", as if code was some sort of DTP by a graphic designer. Code actually is a functional instruction to a machine - semantics matter, and this is where tabs shine: they are unambigious (did the developer decide to indent this this far, or not?)

If tabs-as-whitespace trouble you, editors since the 1990s have allowed you to choose/configure other representations of tabs.

parent DocTomoe 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton