Developers Who Use Spaces Make More Money Than Those Who Use Tabs
40 replies, posted
[QUOTE=Mokeyball;52375072]I find that copy and paste for all my scripting needs works out great :hammered:[/QUOTE]
I copied a line from stackoverflow
python yelled at me for mixing tabs and spaces
[QUOTE=proboardslol;52372196]Makes code easier to edit. 3 tabs -> 3 backspaces vs. 3 tabs -> 12 backspaces.
Afaik any good text editor should let you edit how long a tab is. Spaces just make it annoying to edit code.[/QUOTE]
Ah, so you're a noob. See, us [i]real[/i] programmers use [url=http://www.vim.org/][i]real[/i] text editors[/url] that know how many spaces constitute a tab and automatically backspace by that much when you press the button. Enjoy your inferior salary.
[QUOTE=tschumann;52372771]Does it? It's always done tabs for me and I've never configured anything.[/QUOTE]
It does do spaces by default.
[img]http://i.imgur.com/jZ5ICkY.png[/img]
My Visual Studio is also augmented with ReSharper which does stylistic changes as well, but I have honestly had no idea what Visual Studio's settings were until now and I never noticed. Spaces are fine.
I use clang-format. Not because it looks particularly good (it [I]usually[/I] outperforms manual layout, but not always), but because it saves me from worrying about it. Ctrl+R+D, done, no more manually trying to make things look good, and I can get on with my life.
[QUOTE=NotMeh;52374519]besides that - don't you think it's quite a pain in the bum having to adjust tab size in every single editor and viewer just to make tabs semi-useable?
I've yet to read what I'd actually gain from using tabs[/QUOTE]
...no? I change that setting once per editor, in my global preferences, and it just works. As long as the code is tabbed in properly and not spaced or mixed because a Neanderthal wrote it every file I open will look perfectly fine for my needs, and look perfectly fine for anyone else who opens it too.
Space indentation is the devils work and you heathens will burn for eternity for your sins.
Anyone else thinking about Sillicon Valley right about now?
[QUOTE=Protocol7;52382342]It does do spaces by default.
[img]http://i.imgur.com/jZ5ICkY.png[/img]
[/QUOTE]
Apparently it's got different defaults per-language - C# is spaces but C/C++ is tabs.
And there's a global setting which is unset for me because "The tab setting for individual text formats conflict with each other".
Someone did some further number crunching:
[media]https://twitter.com/evelgab/status/877167895805132801[/media]
[QUOTE=hexpunK;52382365]...no? I change that setting once per editor, in my global preferences, and it just works. As long as the code is tabbed in properly and not spaced or mixed because a Neanderthal wrote it every file I open will look perfectly fine for my needs, and look perfectly fine for anyone else who opens it too.[/QUOTE]
forcing every single developer working on the project to go through the same dumb configuration routines is pretty shitty though
especially since people will inevitably use different editors/viewers, and may not know how to configure them that way
once again, something you completely avoid just by using spaces
[QUOTE=hexpunK;52382365]Space indentation is the devils work and you heathens will burn for eternity for your sins.[/QUOTE]
and why exactly...?
[QUOTE=DrTaxi;52385743]Someone did some further number crunching:
[media]https://twitter.com/evelgab/status/877167895805132801[/media][/QUOTE]
Clearly spaces are more modern.
[QUOTE=NotMeh;52386076]forcing every single developer working on the project to go through the same dumb configuration routines is pretty shitty though
especially since people will inevitably use different editors/viewers, and may not know how to configure them that way
once again, something you completely avoid just by using spaces
[/QUOTE]
No matter what the design standard is internally, there will be a number of people who will have to configure their software, regardless of what's being used for indenting.
spaces don't magically solve all problems, they fix some, and make more
Sorry, you need to Log In to post a reply to this thread.