>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?
Gavin Rivera
benis :DDDDD
Xavier Allen
>get assignment at uni >modify provided code >5 space indentation.
Kill me.
Nathaniel Wright
Confiure tab key to insert two spaces. Problem solve.
Ethan Howard
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.
William Long
>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
Cameron Sanchez
And? >not knowing shift+tab
Luis Perry
>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?
Luke Evans
Good luck moving lines
David Long
>Two space indentation google does it
Hudson Bennett
This is why you've had so much trouble getting an interview, because you're literally a retarded autist.
Levi Barnes
>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
Jordan Wilson
The standard is one tab between each column in a table. You know, tab, table, that's where the word came from.
Adam Roberts
>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!
Christopher Clark
create a script to replace two spaces with tab character, and back for only the first x characters of each line. done.
Jackson Gomez
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.
Ayden Lee
i only said this because op appears to live in a world where ides don't exist lol
William Myers
>>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
Blake Morales
couldn't you just convert to tabs, edit, then convert it back two 2 spaces?
Easton Howard
Google is shit.
Lucas Gutierrez
>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.
Kayden Perry
it's not that shit. I bet this was OP's cute way to brag that he got an interview at google.
Jaxon Ramirez
Can't you configure that in your IDE? Eclipse can convert tab inputs into how many spaces you want
inb4 >java
Gavin Butler
>not using vim
Jacob Mitchell
>not knowing alt+arrow keys
David Robinson
this desu senpai
Adrian Watson
Two space?. You are gonna get eye-cancer with that shit.
Ryan Wood
Time to dust off that tab-space exercise program you wrote for the K&R exercises.