Mean, sick, and poor is no way to go through life, son.

desperate for engineers

Candidate is everything we need, but he uses spaces not tabs. Hire him anyway? The answer is no, right.
Permalink Pestular Croaker 
May 14th, 2017 11:02pm
Sounds like a solid decision. Best practices.
Permalink Bored Bystander 
May 15th, 2017 2:36am
Most IDEs can be configured to handle either and convert as required.

At least he has an opinion!
Permalink Sangamon 
May 15th, 2017 2:41am
Run a procrustean script before booking your shit into repo and it will be all kisses and cuddles.

http://haacked.com/archive/2011/05/22/an-obsessive-compulsive-guide-to-source-code-formatting.aspx/

Just make sure you own the formatter settings.
Permalink trollop 
May 15th, 2017 4:04am
Spaces > Tabs
Permalink Ruseman 
May 15th, 2017 6:18am
"Spaces not Tabs" is The Right Way To Do it.

If you're so stupid you're DEMANDING Tabs Not Spaces, then he wouldn't want to work for you anyway.
Permalink SaveTheHubble 
May 15th, 2017 8:24am
"Most IDEs can be configured to handle either and convert as required."

Oh, sure, I've heard this.

Only we've got one person who sets the Tab position as 8, another who sets it as 4, another who sets it as 2.

Reading some code all three have worked on is a nightmare -- the formatting drifts all over the page.

So, sure, the IDE is happy-happy-joy-joy.  That doesn't mean the result is readable.  How is the IDE going to know it supposed to be a 2-space tab on THIS row, but a 4-space tab on ANOTHER row?
Permalink SaveTheHubble 
May 15th, 2017 8:26am
Visual studio 2017 allows you to check in .editorconfig file at the as solution level to enforce your team's preference.
https://sorokoletov.com/2016/11/28/editorconfig-in-visualstudio/
Permalink Legion 
May 15th, 2017 9:04am
Ah, now we're talking about ENFORCEMENT.

Or, wait, is this just a 'default setting'? 

Nothing wrong with a good, benign, 'default setting'.

Unless it's tabs.  But hey, if everyone used tabs the same way, no problem.

So that's a two-space indent then, right?  Because if you MUST use tabs, that's The Right Way there.
Permalink SaveTheHubble 
May 15th, 2017 9:13am
Unless its Python, where for some reason they recommend 3 spaces.  Go figure.
Permalink SaveTheHubble 
May 15th, 2017 9:13am
"Only we've got one person who sets the Tab position as 8, another who sets it as 4, another who sets it as 2."

That's not a problem. The correct tab setting is 4. The other settings are incorrect.

I thought that people here would be sensible enough to know that already. For those confused, when we say we are hiring for tabbers not spacers, we obviously mean correct tabbers, those who tab 4. 8 and 2 tabbers need not apply.
Permalink Pestular Croaker 
May 15th, 2017 9:15am
Traditionally a tab in text files is supposed to align on 8-folds, but of course historically they have been adjustable on arbitrary absolute positions, with defaults at 8.
Permalink Lotti Fuehrscheim 
May 15th, 2017 9:25am
"Unless its Python, where for some reason they recommend 3 spaces.  Go figure."

They recommend 4, actually.
Permalink Yoda 
May 15th, 2017 9:32am
Typewriter tabs are normally set to around 8 when laying out spread sheet tables containing numbers.

However, for paragraph indentations used in standard writing and letters either around 3 or 4 is used. Of course the actual settings can be placed anywhere and not just at space boundaries.

No real typist would confuse indentations with table layout or fail to realize that in that context exact spaces are not even a real thing.
Permalink Pestular Croaker 
May 15th, 2017 9:34am
Did a "real typist" learn their "typing" on a "typewriter"?

In which case, I'd agree with your rules for "typists", but deny they apply anymore to today's "keyboarders" on this newfangled thing called a "computer".

Writing code on a keyboard, formatting code for a screen, are different skills than mere "typing".
Permalink SaveTheHubble 
May 15th, 2017 9:39am
Rubbish. Every non-programmer knows that what programmers do is just "typing". Just look at them. Overpaid typists.
Permalink Yoda 
May 15th, 2017 9:40am
Funny, I didn't think YOU were a 'non-coder', Yoda.  ;-)
Permalink SaveTheHubble 
May 15th, 2017 9:40am
Re: Python:

Why, it IS an indentation of 4.  SPACES.  They disrecommend tabs.

I knew there was something I liked about Python.
Permalink SaveTheHubble 
May 15th, 2017 9:43am
I am a coder, and many things besides that :)
Permalink Yoda 
May 15th, 2017 9:43am
I used to be bigoted. At my new job in 2009 it was jokingly said that it was a firing offence if you used spaces.

I used to be a space guy.

We are a tab shop. I'm converted.  In Visual Studio, tabs are the one true way. Anything else is heresy.
Permalink Legion 
May 15th, 2017 10:06am
I always use spaces, unless I edit a text file with columns. Then I can in- and export from a spreadsheet.
Permalink Lotti Fuehrscheim 
May 15th, 2017 10:12am
>> Candidate is everything we need, but he uses spaces not tabs. Hire him anyway? The answer is no, right.

Guys, this is a sketch from #317 run of Monty Python crosses Little Britain. For fuck's sake, this is a joke, don't you get it?
Permalink Io 
May 15th, 2017 12:36pm
Geez what freaking nerds.
Permalink Io 
May 15th, 2017 12:37pm
Pestular Croaker (Croaker - do we have a connection with Pepe/Lord Kek?) is simply making fun of the adversarial and useless bike-shedding that pervades IT and programming.

I ran into much the same thing with a douche asshole (an ITT Tech Institute graduate) who refused to look at my server code's function and instead starting calling out my lack of use of the singleton pattern.

The incompetent in this industry will fixate on something simple and obvious that they can piously claim is a violation of "best practices." Management will listen to them even when code works, because they can point to an objective "fact" and can dredge up articles, etc.

This kind of accusation is always protective cover for not doing any real work. Kind of like blaming someone for spacing or tagging wrong.
Permalink Bored Bystander 
May 15th, 2017 1:04pm
"Croaker - do we have a connection with Pepe"

Yes. Also a plague of frogs or frog is a kind of pestilence.
Permalink Pestular Croaker 
May 15th, 2017 1:32pm
Bored Bystander, you haven't seen evil.

You think Stalin or Hitler were incompetent? They aren't the Hollywood villains, not even Dilbert Blog's ones.

They were highly intelligent people. BETTER THAN YOU. AND DECIDED YOU MUST GO.
Permalink Io 
May 15th, 2017 1:33pm
A, by all means measurable (at least from their management perspective), being on this Earth has been deemed unemployable at the current company. And for what involves us, unemployable in general.
Permalink Io 
May 15th, 2017 1:35pm
Definitely I'm bitching about minor league, rookie, trainee grade evil.
Permalink Bored Bystander 
May 15th, 2017 5:05pm
My boss mandated we use tabs instead of spaces because he prefers it.  The senior developer argued against it, but was overruled with "That's how I want it" and he's the boss.
Permalink Ruseman 
May 15th, 2017 6:16pm

This topic is archived. No further replies will be accepted.

Other topics: May, 2017 Other topics: May, 2017 Recent topics Recent topics