- ChinaNumberOne ( @ChinaNumberOne@lemmy.ml ) 6•3 years ago
using spaces: google, microsoft, apple
using tabs: linux, gnu
Why is this a line graph? What’s on the X axis?
- ksynwa ( @ksynwa@lemmy.ml ) 2•3 years ago
Who tf uses both?
- lightsecond ( @lightsecond@programming.dev ) 4•10 months ago
Google employees who work on the Linux kernel.
- adrianmalacoda ( @adrianmalacoda@lemmy.ml ) 1•3 years ago
Hot take: Tabs are the objectively correct way to do indentation. The main argument I have seen in favor of spaces is that they give you finer control over how the code looks, but semantically, one tab is one level of indentation, and the exact appearance of a tab is best left to editor preference. Nonetheless, I use spaces because everyone else uses spaces, and I would rather be consistent with existing code bases than bikeshed over ultimately unimportant concerns. I suspect this is the reason why spaces became so popular in the first place.
- pinknoise ( @pinknoise@lemmy.ml ) 1•3 years ago
Unrealistic, everyone knows that tabs are 8 characters