4 ms·
> The real problem is that using spaces for indentation is an accessibility issue. The problem of leading spaces not changing their size can be solved through
by kazinator 4y ago
> The real problem is that using spaces for indentation is an accessibility issue.
The problem of leading spaces not changing their size can be solved through programming.
Those programmers who have such a problem and need leading space to be rubbery, if those programmers are worthy, will solve that problem instead of complaining that everyone should adapt to them.
The use of tabs is detrimental to code bases. Whenever tabs creep in, invariably people use different tab settings and make a dog's breakfast out of the code.
Code exhibits indented sub-structures that are internally indented, but not themselves not aligned to a tab stop, but aligned with something. One kind of example is something like:
function_name_of_random_length(lambda (a, b) {
if (a < b) {
indented();
}
},
arg2);
- Dylan16807 4y agoSometimes it can make sense to align arguments but I strongly disagree with pushing over a multi-line lambda that way. So I'm not convinced the problem you're describing should ever happen.