Ad/iklan :







Search.Pencarian Menu

Add text send email to rh3252705.adda@blogger.com or Click this (Text porn Will delete) | Tambah teks kirim email ke rh3252705.adda@blogger.com atau Klik ini (Teks porno akan dihapus)
Total post.pos : 13631+

[Go Make Things] Tabs are objectively better than spaces

Yesterday, I shared some spicy takes. A few were particularly controversial—most notably, that I correct Gif the correct way (with a soft G)—but I also got a lot of emails asking me to elaborate on a few of them.

Today, I wanted to talk about how tabs are objectively better than spaces. This won't take long.

Tabs let you define how big you want each indent to be, and spaces do not. That's it. That's the entire reason why tabs are better.

Now, I know, I know. Something something something consistent look across different people's environments and so on. That's a bug, not a feature. You've robbed developers of choice.

I have ADHD. Two spaces per indent makes it damn near impossible for me to scan code. My brain gets too distracted by the visual noise. Someone who's visually impaired might bump their font size up really large, and need to scale up or down the amount of space per indent. Someone might just prefer it because

The reason really doesn't matter.

What matters is that tabs let developers control how much space each indent has, while also allows you to set it to your preferred size. Everyone wins!

Is there a JavaScript or web development topic you'd like to learn more about? Hit reply to this email and let me know.

Cheers,
Chris

Want to share this with others or read it later? View it in a browser.

Share :

Facebook Twitter Google+
0 Komentar untuk "[Go Make Things] Tabs are objectively better than spaces"

Back To Top