Skip to content

Comment on Indentation TABS vs. SPACESparent

Comments

I don't talk about mixing spaces and tabs. I talking about why don't we indent with tabs only? Spaces are good for separating tokens in code, but indentation is not for that - indentation is for making the structures visible, sometimes it is easier to read with smaller amount of indent, sometimes it is easier to read with larger amount of indent - based on my experiences. Why then to make the coders life worse than needed? (On the other hand I do like Go's approach for this: using 'go fmt' you can make your source file well-indented/aligned. sigh

You cannot use tabs for alignment, and people align things.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.