Click here to Skip to main content
15,887,982 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: Tabs vs Spaces Pin
Mike Hankey20-Oct-22 4:55
mveMike Hankey20-Oct-22 4:55 
GeneralRe: Tabs vs Spaces Pin
Choroid20-Oct-22 5:29
Choroid20-Oct-22 5:29 
GeneralRe: Tabs vs Spaces Pin
Mike Hankey20-Oct-22 5:35
mveMike Hankey20-Oct-22 5:35 
GeneralRe: Tabs vs Spaces Pin
Franc Morales19-Oct-22 12:00
Franc Morales19-Oct-22 12:00 
GeneralRe: Tabs vs Spaces Pin
Ravi Bhavnani19-Oct-22 14:36
professionalRavi Bhavnani19-Oct-22 14:36 
GeneralRe: Tabs vs Spaces Pin
Member 1330167919-Oct-22 20:40
Member 1330167919-Oct-22 20:40 
GeneralRe: Tabs vs Spaces Pin
Wizard of Sleeves19-Oct-22 20:58
Wizard of Sleeves19-Oct-22 20:58 
GeneralRe: Tabs vs Spaces Pin
den2k8819-Oct-22 21:30
professionalden2k8819-Oct-22 21:30 
I prefer tabs because when I have to move code from an indentation level to another it requires less deletes. Also allows for fancy editing like a different character width for indentation than for code (it helps for people who have to set the font to 12pt with 125% or 150% magnification active, like yours truly).

Also I have worked on a codebase modified by several people in several years with different tools and different indentations. Code was something like
C++
if (condition){
  code;
  if (cnd2)
      {
       code;
      }
    code;
    while(something)
    {
       code;
    }
}


Tabs would have fixed the lunacy.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

GeneralRe: Tabs vs Spaces Pin
acego19-Oct-22 23:49
acego19-Oct-22 23:49 
GeneralRe: Tabs vs Spaces Pin
Cpichols20-Oct-22 1:50
Cpichols20-Oct-22 1:50 
GeneralRe: Tabs vs Spaces Pin
JohnDG5220-Oct-22 2:25
JohnDG5220-Oct-22 2:25 
GeneralRe: Tabs vs Spaces Pin
Mark Starr20-Oct-22 3:37
professionalMark Starr20-Oct-22 3:37 
GeneralRe: Tabs vs Spaces Pin
Gary R. Wheeler20-Oct-22 9:53
Gary R. Wheeler20-Oct-22 9:53 
GeneralRe: Tabs vs Spaces Pin
Member 1160044920-Oct-22 3:39
Member 1160044920-Oct-22 3:39 
GeneralRe: Tabs vs Spaces Pin
TNCaver20-Oct-22 5:17
TNCaver20-Oct-22 5:17 
GeneralRe: Tabs vs Spaces Pin
Jim Spencer10020-Oct-22 6:15
professionalJim Spencer10020-Oct-22 6:15 
GeneralRe: Tabs vs Spaces Pin
Member 1577796220-Oct-22 5:52
Member 1577796220-Oct-22 5:52 
GeneralRe: Tabs vs Spaces Pin
englebart20-Oct-22 7:01
professionalenglebart20-Oct-22 7:01 
GeneralRe: Tabs vs Spaces Pin
StatementTerminator20-Oct-22 7:45
StatementTerminator20-Oct-22 7:45 
GeneralRe: Tabs vs Spaces Pin
Juan Pablo Reyes Altamirano20-Oct-22 8:02
Juan Pablo Reyes Altamirano20-Oct-22 8:02 
GeneralRe: Tabs vs Spaces Pin
James Curran20-Oct-22 9:10
James Curran20-Oct-22 9:10 
GeneralRe: Tabs vs Spaces Pin
Gary R. Wheeler20-Oct-22 9:52
Gary R. Wheeler20-Oct-22 9:52 
GeneralRe: Tabs vs Spaces Pin
Daniel Wilianto20-Oct-22 17:28
Daniel Wilianto20-Oct-22 17:28 
GeneralRe: Tabs vs Spaces Pin
Member 1409260520-Oct-22 22:27
Member 1409260520-Oct-22 22:27 
GeneralRe: Tabs vs Spaces Pin
YSLGuru21-Oct-22 8:34
YSLGuru21-Oct-22 8:34 

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.