They might be working on an old codebase with maintainers who yell at you if you try to standardize formatting because “whitespace changes pollute diffs” (smh, programmers who don’t know how to configure their diff tools).
So that when someone used to tabs, does something in a spacebar-project, they can see that they will need a clang-format.
Oh you use an indentation sensitive language? Err… my condolences.
Do all three of them still treat tabs and spaces as functionally different? If so then they’re all in the bottom category.
Today’s programmers…
Back in the day people knew how to configure their code editors.
They might be working on an old codebase with maintainers who yell at you if you try to standardize formatting because “whitespace changes pollute diffs” (smh, programmers who don’t know how to configure their diff tools).
Are you arguing that it’s good design to have invisible characters behave differently or am I missing your point?
It doesn’t have to be invisible.
https://jonathanmh.com/p/showing-indentation-spaces-tabs-invisibles-in-various-editors/
A workaround doesn’t excuse terrible design!
Yes!
Yes!
There’s a reason that stuff exists.
So that when someone used to tabs, does something in a spacebar-project, they can see that they will need a
clang-format
.Oh you use an indentation sensitive language? Err… my condolences.