Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		- 
				
				 watzon45579yBecause sometimes different editors display tabs differently or different people have their tabs set to different sizes. Spaces are consistent throughout watzon45579yBecause sometimes different editors display tabs differently or different people have their tabs set to different sizes. Spaces are consistent throughout
- 
				
				ingvarorn319yI don't really mind the slight difference in "tab sizes", as long as the code is readable
- 
				
				ingvarorn319y@csessh good thing I don't code in Python then ! 😉
 I do make sure I'm consistent tho and since I've only worked alone it hasn't been a problem for me yet
- 
				
				 elazar10179yIf you work alone you can avoid indentation completely. The debate is about communication with other people. elazar10179yIf you work alone you can avoid indentation completely. The debate is about communication with other people.
- 
				
				 fyroc58299yExcept that people who usually use spaces do this... fyroc58299yExcept that people who usually use spaces do this...
 
 if (var){
 var foo = true;
 var bar = false;
 var steve = false;
 }
- 
				
				 elazar10179y@farmerhands you are talking about the key, right? Because the visual width of tab is 8, according to the standard (and Python compilers) elazar10179y@farmerhands you are talking about the key, right? Because the visual width of tab is 8, according to the standard (and Python compilers)
- 
				
				 Xevion1549yAll the code editors i use maps the tab button to 4 spaces. They also make sure that the lines always start at the correct indentation. Xevion1549yAll the code editors i use maps the tab button to 4 spaces. They also make sure that the lines always start at the correct indentation.
 
 So I can just press tab once and get the benefit of space. I don't even see why this is still an issue being argued over.
- 
				
				keerthi1089ywho else saw the episode of silicon valley where Richard dumps a girl coz she uses spaces over tabs and prefers vim over Emacs 😂😂
- 
				
				use tab or space depends whether you are overweight or underweight.
 if u want to loss weight, hit space 4 time or may be 10 n drink 1 cup coffee. if u want to gain, 4 cups of coffee or 10 n 1 tab.
Related Rants






 Spaces or tabs? - Semicolons!
Spaces or tabs? - Semicolons!
 Tabs v spaces again
Tabs v spaces again
 Thats how it's Done!!! 
xD
Thats how it's Done!!! 
xD
Why do people use spaces over tabs?
Tabs are awesome.
undefined
tabs
spaces