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
-
Plinn1068yGood reasons?
.- Readability across whole team. And obviously when sharing with different teams.
- Independence from editors and editor settings.
- Compliance to corporate quality standards -
@Plinn but you mean tabs right?
After the fact that the file gets uneditable w/ spaces, did anyone give filesize a thought?
Tabs vs spaces - 1 byte vs 2/3/4 bytes.:b -
webpoga488yTabs are messy. IDEs always have an option to convert tabs into spaces. If you're in my team, good luck!
-
@webpoga WTH, which IDE are you using? The only "IDE" i know which handles spaces well is dreamweaver. All the others fuck up really good with em.
-
Salmakis6738y@Jilano if YAML (a really bad Thing) is your only argument... Than you dont have an argument.
-
@dev0 just a note, almost no one really pressed the spacebar X times just to use spaces. People use the TAB key, but they set their editor to convert it to spaces i.e. one TAB = 4 ' ' chars. Stop spreading misleading info :)
-
Salmakis6737y@KeyWeeUsr why the not just tabs? You do a workaround to make spaces behave like tabs.
-
@Salmakis no, I make the code identical for all editors while using the keyboard effectively, not the other way around. :)
Arguments about space usage and "you can set your own tab width" I just ignore.
! War
I hate tabs to space, yep i hate it, nobody could ever give me a good reason to use spaces over tabs
(yes i want to have differend tab sizes on differend Plattforms/environments, my buddys all use 4 or even 6 as tab size, i only use 2. With tabs can everbody got his/her own size without reformating the whole code and driving diff crazy @all lines changed!!!111onehundredeleven)
undefined