3 ms·
I was asking not about the badly written code. I was asking about when you have lets say "good" code with tabs, when they are used for indentations and there is
by Yizahi 5y ago
I was asking not about the badly written code. I was asking about when you have lets say "good" code with tabs, when they are used for indentations and there is a single tab per line start, but that file is for some reason displayed garbled because text viewer/editor on the host can't work with tabs properly.
Because that was the reason always given for spaces usage - "what if I want to open code with tabs on some super duper legacy system from decades back, and some weird editor will mess up my indents. Spaces are safe everywhere."
And my point was that I haven't seen a system which can't handle displaying tabs in very long time (or ever).
- tapland 5y agoI get you. I think the reason for the horrible tab spaces mix was that our system doesn't display tabs well and me seeing them in sublime/code/np++ where the older devs prefer to edit on the system itself. The reason I want to use tabs is accessibility for visually impaired. Know some great devs who have to zoom lines until they become mega-sized and with four spaces the next line is a far scroll away for them, whereas with tabs they can set very slim tab widths.