3 ms·
How quaint, another person who insists that people who don't use their preferred formatting just doesn't understand it! Never mind that maybe they just disagree
by eropple 15y ago
How quaint, another person who insists that people who don't use their preferred formatting just doesn't understand it! Never mind that maybe they just disagree--there has to be something wrong with them, right?
I don't use tabs because of an equally obvious reason that spaces are better: because I end up padding with spaces because the tabs are too big. For example, I like having horizontally consistent parameter argument lists, like below:
class Thing {
def beep(bar: String, baz: Int, quux: Seq[String],
quuux: Map[String, String], quuuux: Int) = false
}
If I tried to use tabs there, I'd be off by a space and have to add another space. Someone with a different hard-tab width would then get mad because there's an "extraneous" space in their view. And then we all have a nice big slapfight and sound like your post in the process.
(Plus, my editor treats four spaces in a row as a soft tab anyway, so I don't even notice it except when I want to. Life is peachy.)
- DavidAbrams 15y agoI pointed out that they never give a specific reason for preferring spaces. At least you did that. You can still achieve what you want, and even faster, by using tabs to get your subsequent parameter lines most of the way there and then padding with a couple of spaces.
- eropple 15y agoI covered that exact "solution" in my post--the exact one! It blows up when somebody else is using a different tab width than I am. And given that I use soft tabs, it is no faster at all.