Re:What's the deal with tab size (8 spaces) in the GitHub UI?
by kazinator on Tuesday September 21, 2021 @03:44AM
(#28602867)
There simply aren't. The accessibility problem has to be solved such that people with visual impairments can just as effectively work with code that is indented with spaces, because there is a lot of it out there and you cannot just reindent everything with tabs.
Just because code is indented with character 32 rather than 9 doesn't mean that this indentation cannot be presented in an adjustable way.
Re:What's the deal with tab size (8 spaces) in the GitHub UI?
by FiggyPudding on Tuesday September 21, 2021 @09:42AM
(#28604938)
Notepad++ has a nice feature to convert leading spaces and tabs back and forth though I never used it on a big mess of a file to convert to tabs to see if it is successful there.
Every editor I've encountered beyond Notepad/Wordpad let's the user specify tabwidth.
The accessiblity issue for me is poverty and eyestrain. I like big fonts on my small monitor in my small apartment.
>The most productive thing is to just ban tabs.
There are valid accessibility reasons to prefer tabs to spaces.