Developers who use spaces make more money than those who use tabs
401–410 of 690 posts
Re: Developers who use spaces make more money than those who use tabs
#402= Why Grown-Ups Don't Use Tabs = * Joe likes 4-space tabs, I like 2-space tabs, and Jane is old-school with 8-space tabs. * All goes well until someone aligns something visually, like so: void someNiceMethod( [tab][tab][tab][tab][space][space]int myParam...); * Now it aligns perfectly on my machine, looks mostly ok on Joe's machine, and is ON MARS on Jane's machine. Thus one-or-more of three futures happens: * Someon…
Who aligns like that? It seems to defeat the purpose of putting it on a separate line. void someNiceMethod( int myParam... ); Hey Presto! You, Joe and Jane all get your preferred size size of tab. As a bonus, this indentation style works equally well if Jim uses a non-fixedwidth typeface.
Re: Developers who use spaces make more money than those who use tabs
#403I don't understand how people can work with spaces. I had to reformat a colleague's query the other day and it was infuriating because all the tabs had somehow been converted to spaces. I had to edit it line by line instead of being able to easily shift entire blocks in either direction. Do Visual Studio and SSMS support the space equivalent of "Select X rows and tab them all at once"? I just tried now and all the co…
But that's still not a good reason to use spaces (especially 2 spaces) and say "FU" to programmers suffering from diplopia.
Re: Developers who use spaces make more money than those who use tabs
#404Re: Developers who use spaces make more money than those who use tabs
#405Re: Developers who use spaces make more money than those who use tabs
#406Earlier quoted context omitted.
Does spending time considering the implications of spaces vs tabs really indicate competence? To me being over-obsessed with minor details might be either negative or at most neutral value. There are thousands of interesting programming subjects to initiate a conversation to evaluate competency. At most it's a matter of what tools you use as well as accepted standards in the individual programming language's communit…
> Does spending time considering the implications of spaces vs tabs really indicate competence? No, it signifies that you have spent enough time programming in a wide variety of platforms and with enough other peers to run in to the issue and understand that it exists.
Re: Developers who use spaces make more money than those who use tabs
#407Earlier quoted context omitted.
Seems unfair to downvote you just for misunderstanding, that was sarcasm friend.
I've grown so tired of sarcasm. Online and in real life people are often saying the exact opposite of what they mean. We have to pick up the sarcasam to truly understand.
Re: Developers who use spaces make more money than those who use tabs
#408Re: Developers who use spaces make more money than those who use tabs
#409Re: Developers who use spaces make more money than those who use tabs
#410I see a few arguments here which suggest people think tab-users might care less about their code and/or their fellow coder. As someone who slightly prefers tabs and abhors mixing of tabs/spaces, I find this frustrating. I generally prefer tabs because I feel that they're more egalitarian: I like 4-space indentation, but don't want to force that on everyone encountering my code. Similarly, I find 2-space indentation v…
You are clearly being thoughtful, but the problem with tabs and mixing them into code is that when multiple people write the code, some spaces are going to slip into that tab heaven, and then indentation will break for someone. So by choosing tabs, either the file must be consistently formatted with tabs by everyone always, or everyone must look at the code in the same editor configured in the same way always. I reme…
About your argument, though: Isn't is also possible for someone to copy/paste something with tabs into space-indented code? Isn't is also possible for someone's editor to start off with tab-based indentation by default instead of space-based and mistakenly add the wrong whitespace to the project?