Finally get a job interview at a decent firm I've been in touch with

>finally get a job interview at a decent firm I've been in touch with
>"Oh by the way user, we've just introduced a new code standard"
>"Two space indentation for all code"
>mfw

Why don't people understand the point of tabs is to avoid this discussion altogether?

benis :DDDDD

>get assignment at uni
>modify provided code
>5 space indentation.

Kill me.

Confiure tab key to insert two spaces. Problem solve.

yeah but the problem is that he's gonna be working with code from all the other developers which has two spaces for indentaiton, and he will have no control over how those files look to him if he wants to use 4 space indentation.

>press tab twice
>inserts four spaces
>press backspace
>delete one space at a time
>alt backspace to delete to the start of the line
>have to reindent again

OR

>press tab twice
>backspace deletes one tab at a time
>reindent as you wish

stop being retarded user

And?
>not knowing shift+tab

>user why are you pushing code with tabs to the repo? Didn't you get the memo about the new standard?

The standard should be one tab per level of indentation, so that each developer can choose their own tab width for display.

And do you really expect that when pulling code down that user should convert all spaces to tabs before he can get started?

Good luck moving lines

>Two space indentation
google does it

This is why you've had so much trouble getting an interview, because you're literally a retarded autist.

>and he will have no control over how those files look to him if he wants to use 4 space indentation.
So use a better editor that can autoformat files on read/write?
>open file
>4 spaces
>file gets saved with 2 spaced

The standard is one tab between each column in a table. You know, tab, table, that's where the word came from.

>Why don't people understand the point of tabs is to avoid this discussion altogether?
This literally makes no difference whatsoever. I'm going to reformat any document I work with with a simple keyboard shortcut so fuck your preferences, bitch!

create a script to replace two spaces with tab character, and back for only the first x characters of each line. done.

Why the fuck would you create a script for this when every real IDE can reformat the document however you want it? Also, that is not a straightforward script to write. Too many edge cases. The IDE developers have already done that work for you.

i only said this because op appears to live in a world where ides don't exist lol

>>finally get a job interview at a decent firm I've been in touch with
Fuck off i can't even get one. somebody kill me now

couldn't you just convert to tabs, edit, then convert it back two 2 spaces?

Google is shit.

>implying 2 space indent is best indent
You will see how inelegant 4 spaces is when you are using common constructs that have 1 line indented after another line indented, like nested for loops, or a for loop combined with if.

it's not that shit. I bet this was OP's cute way to brag that he got an interview at google.

Can't you configure that in your IDE? Eclipse can convert tab inputs into how many spaces you want

inb4 >java

>not using vim

>not knowing alt+arrow keys

this desu senpai

Two space?. You are gonna get eye-cancer with that shit.

Time to dust off that tab-space exercise program you wrote for the K&R exercises.

2 spaces master race