roytang.net Posts Photos Archives About

The correct answer to tabs vs spaces is "whichever the file you're editing is already formatted with". Unfortunately, no text editors have that preference

(Click photos to view full-size)

968644273745752065-DXFQ01WUMAAT7Hg.jpg
968644273745752065-DXFQ01WUMAAT7Hg.jpg
Wed, Feb. 28, 2018, 8:28 a.m. / / notes / #iama #replies / Syndicated: reddit twitter facebook / 💬 9

Last modified at: Oct. 12, 2020, 1:52 a.m. Source file

Comments

There is most probably at least one source control commit note out there that says: "Code cleanup (convert spaces to tabs)". πŸ€”

via www.facebook.com
Arthur Abon said...

You guys use tabs? I honestly use spaces.

via www.facebook.com
Roy Tang said...

Spaces master race

via www.facebook.com
Arthur Abon said...

NakakaOC kasi kapag nag-view ka sa iba-ibang IDE (specially if you are at a client and using their environment) tapos iba ang render ng tab.

via www.facebook.com
hungryroy said...

Oh, indeed it does! I never noticed it! I happily stand corrected.

via www.reddit.com
David Ramirez said...

Not that I did very much programming, but I'm tabs.

via www.facebook.com
Arthur Abon said...

Changed my IDE settings so that 1 tab === 2 spaces.

via www.facebook.com