News for hackers. Stuff that matters.
Re:Tabs, spaces and your salary – how is it really? by Veedrac on Tuesday June 20, 2017 @11:58AM (#14595636)
That's not a fair comparison. You either disallow tabs, or you disallow spaces. A mismatch isn't either, so it doesn't evidence either being better than the other.
Re:Tabs, spaces and your salary – how is it really? by dxhdr on Tuesday June 20, 2017 @02:35PM (#14597248)
Disallowing spaces isn't an option, you can't align code using tabs. You have to both disallow spaces and enforce a no-alignment (leading-indent-only) formatting style.

Just use spaces! You can't mess it up. ;)

Re:Tabs, spaces and your salary – how is it really? by jimmaswell on Tuesday June 20, 2017 @02:41PM (#14597299)
Meticulously lining code up like ASCII art seems like an antipattern to me nowadays. It might make some regions of the code look a little bit nicer, but it's never really strictly necessary and it comes at the cost of higher maintenance - for example, add to that list of assignments with lined up equals signs and you have to make your addition line up too, and if your variable name is longer than the longest one in the list so far you have to move all the previous ones over.
Re:Tabs, spaces and your salary – how is it really? by Veedrac on Tuesday June 20, 2017 @03:13PM (#14597563)
> Just use spaces! You can't mess it up. ;)

Oh how I envy someone who can say that.