• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

Tabs vs Spaces

 
Saloon Keeper
Posts: 2866
370
Android Eclipse IDE Angular Framework MySQL Database TypeScript Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tabs or spaces. We are going to parse a billion files among 14 programming languages to decide which one is on top.



Article: 400,000 GitHub repositories, 1 billion files, 14 terabytes of code: Spaces or Tabs?



Referred-to in acticle
 
Ron McLeod
Saloon Keeper
Posts: 2866
370
Android Eclipse IDE Angular Framework MySQL Database TypeScript Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Me -- I use the tab key when typing but have the editors save the indentations to file as spaces.
 
Marshal
Posts: 67334
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup, that's what IDEs are for!
 
Marshal
Posts: 66959
255
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was quite tame for tabs vs spaces discussions. For a start, she didn't push him down the stairs.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have discussed this before: tabs vs spaces

 
Jesper de Jong
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There you go! I knew there was a good reason to use spaces instead of tabs.  

Developers Who Use Spaces Make More Money Than Those Who Use Tabs

If you're using tabs then you'd better start using spaces instead, it will magically make your salary rise by a few thousand $ per year.
Tell your manager: "I'm using spaces now!". He will give you a raise!    
 
author & internet detective
Posts: 39760
797
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good thing there is data  if we were going to argue which was better, I fear this would end in the pit!
 
Campbell Ritchie
Marshal
Posts: 66959
255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, if we have data, then it ceases to be meaningless. Particularly if there is money involved.
 
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!