logoalt Hacker News

sam_lowry_yesterday at 6:07 PM1 replyview on HN

BTW, Douglas Crockford had an interesting argument in favour of spaces, see https://www.youtube.com/watch?v=En8Ubs2k1O8


Replies

pseudalopextoday at 4:36 AM

What of Crockford's argument interested you?

The typewriter history was irrelevant.

He said people argued how wide should a tab be. And this caused misery. But almost all tabs advocates said tabs should be any width you want in my experience. And spaces advocates argued how many spaces should indentation be.

He said there was no value in the conflict. There is value in accessibility.[1][2]

He said tabs could be eliminated and spaces could not. Spaces could be eliminated for indentation. And indentation could replace alignment with initial spaces.[3]

[1] https://news.ycombinator.com/item?id=20341354

[2] https://news.ycombinator.com/item?id=20381027

[3] https://news.ycombinator.com/item?id=20341788

show 1 reply