Click here to Skip to main content
15,914,943 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Got home, had a beer & fell asleep... Pin
Jörgen Andersson8-Aug-17 1:32
professionalJörgen Andersson8-Aug-17 1:32 
GeneralRe: Got home, had a beer & fell asleep... Pin
glennPattonWork37-Aug-17 23:12
professionalglennPattonWork37-Aug-17 23:12 
GeneralRe: Got home, had a beer & fell asleep... Pin
OriginalGriff7-Aug-17 23:12
mveOriginalGriff7-Aug-17 23:12 
GeneralRe: Got home, had a beer & fell asleep... Pin
Daniel Pfeffer8-Aug-17 0:06
professionalDaniel Pfeffer8-Aug-17 0:06 
GeneralRe: Got home, had a beer & fell asleep... Pin
OriginalGriff8-Aug-17 0:29
mveOriginalGriff8-Aug-17 0:29 
GeneralRe: Got home, had a beer & fell asleep... Pin
kalberts8-Aug-17 0:54
kalberts8-Aug-17 0:54 
AnswerRe: Got home, had a beer & fell asleep... Pin
RickZeeland8-Aug-17 0:56
mveRickZeeland8-Aug-17 0:56 
QuestionTabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
Jeremy Falcon7-Aug-17 10:24
professionalJeremy Falcon7-Aug-17 10:24 
Now you know, we as nerds just love a good debate. And clearly, everyone who doesn't agree with us is intellectually inferior by substantial margins. And no other topic, save a few, has this proven to more evident than in the tabs versus spaces great debate of our generation. Now, rather than fan the flame of that saga, I'm curious to know what people still prefer for tab width (regardless of an actual tab char or if it's spaces).

For years, I've always been a four column guy with tab widths. I mean years. Anything else was stupid and bunches together what would otherwise be beautiful code. But then I started doing a lot of JavaScript development where the popular thing is to use two column widths. Ruby seems to embrace that too. It's ugly I thought. I shan't cave in. It's immoral and just wrong. But in being a team player you go along with what must be done for the sake of the project.

Now, a couple years later. I look at four column tab width code and think "well gee that's just too damn wide." I still don't like two column width. Looks like the code is still in kiddy land when I see that. I started doing some plug-in development for a Forex trading platform a few years back. It's a proprietary language and by default it uses 3 column widths in the code editor for it. At first I was like "ok wtf." But after years of using that proprietary language... turns out 3 column width is perfect!

You can use it everywhere. C#, C/C++, JavaScript. Whatever, it's a nice compromise for everyone. In this day and age where we are expected to learn 20 million things, both client and server, rather than just one language, I tend to find myself using this more and more so I don't have to readjust my eyes to differently spaced code all day long. Only problem is... nobody else uses 3 column widths that I know of.

So, I'm curious to know, what do y'all use still and why?
Jeremy Falcon


modified 7-Aug-17 16:46pm.

GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
harold aptroot7-Aug-17 10:34
harold aptroot7-Aug-17 10:34 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
Jeremy Falcon7-Aug-17 10:43
professionalJeremy Falcon7-Aug-17 10:43 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
Slacker0077-Aug-17 22:44
professionalSlacker0077-Aug-17 22:44 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
TNCaver8-Aug-17 4:39
TNCaver8-Aug-17 4:39 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
User 84207-Aug-17 10:38
User 84207-Aug-17 10:38 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
Jeremy Falcon7-Aug-17 10:42
professionalJeremy Falcon7-Aug-17 10:42 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
User 84207-Aug-17 10:57
User 84207-Aug-17 10:57 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
Jeremy Falcon7-Aug-17 11:13
professionalJeremy Falcon7-Aug-17 11:13 
AnswerRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
PIEBALDconsult7-Aug-17 11:11
mvePIEBALDconsult7-Aug-17 11:11 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
Jeremy Falcon7-Aug-17 11:13
professionalJeremy Falcon7-Aug-17 11:13 
AnswerRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
R. Giskard Reventlov7-Aug-17 11:16
R. Giskard Reventlov7-Aug-17 11:16 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
Jeremy Falcon7-Aug-17 11:23
professionalJeremy Falcon7-Aug-17 11:23 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
R. Giskard Reventlov7-Aug-17 12:06
R. Giskard Reventlov7-Aug-17 12:06 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
Jeremy Falcon7-Aug-17 12:22
professionalJeremy Falcon7-Aug-17 12:22 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
Daniel Pfeffer7-Aug-17 20:38
professionalDaniel Pfeffer7-Aug-17 20:38 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
R. Giskard Reventlov8-Aug-17 5:14
R. Giskard Reventlov8-Aug-17 5:14 
GeneralRe: Tabs, Spaces, 2 column widths, 4 column widths, oh my... Pin
  Forogar  11-Aug-17 6:46
professional  Forogar  11-Aug-17 6:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.