News for hackers. Stuff that matters.
Re:Show HN: Twitch Plays Doom by sergiotapia on Sunday August 06, 2017 @02:05PM (#14942501)
I don't get that war - configure your editor to convert your tabs to spaces. Precision.
Re:Show HN: Twitch Plays Doom by zaphar on Sunday August 06, 2017 @02:26PM (#14942630)
Ah, but then you commit and someone else pulls the source code down and their carefully crafted N space per tab setting is now worthless since you decided how long tabs should be for them.

Then they post an angry rant on some mailing list about how forcing tabs to spaces forces people with various reading disabilities into a tabstop setting that makes it hard to read.

And before too long it's devolved into the same old Tabs vs Spaces debate.

Re:Show HN: Twitch Plays Doom by sergiotapia on Sunday August 06, 2017 @08:32PM (#14944518)
But... your team just enforces a style. No debate. Two spaces for Ruby I've seen almost everywhere. Two for Elixir, same. Go has go fmt. This hypothetical of different spaces is killed before it happens.
Re:Show HN: Twitch Plays Doom by zaphar on Sunday August 06, 2017 @11:00PM (#14945000)
Having a style ends the debate yes. Configuring your editor to automatically replace tabs with spaces does not end the debate. It starts it.
Re:Show HN: Twitch Plays Doom by tokenizerrr on Sunday August 06, 2017 @07:31PM (#14944326)
Before that, your diff looks ugly and you generate tons of merge conflicts by useless indentation changes.
Re:Show HN: Twitch Plays Doom by NTripleOne on Monday August 07, 2017 @08:34AM (#14947018)
You mean convert spaces to tabs, right? ...right?!