正在加载视频...

视频加载失败

If tabs vs spaces wasn't documented, future generations would never believe it.

31,492 次观看 • 1 个月前 •via X (Twitter)

30 条评论

Lynn Cole 的头像
Lynn Cole1 个月前

Tabs are superior, because you can adjust the width of a tab. You can't do that with spaces. The fact that a tab can look different on someone else's computer is a feature, not a bug. People who prefer spaces are fucking heathens and React developers.

phil bohun 的头像
phil bohun1 个月前

It's wonderful to know that tabs won that fight, since the existence of tabs is to indent to the next tab stop.

Justin Schroeder 的头像
Justin Schroeder1 个月前

What do most coding agents do? That’s what wins

Mr. Repairman 的头像
Mr. Repairman1 个月前

Set your tab to 4 spaces. Done.

Jonny @ Shepherdly 的头像
Jonny @ Shepherdly1 个月前

shows at the end of the day Richard never really felt the agi; built superintelligence but never stuck it into IDE autocomplete.

Jag the Hero 的头像
Jag the Hero1 个月前

Tabs are objectively better

Paul Xue 的头像
Paul Xue1 个月前

I once worked with a team that set tabs to 3 spaces. Every loc felt like a crime.

Endmyion 的头像
Endmyion1 个月前

I remember watching this episode and being like "people use fucking spaces?!"

Vs. Super Inertia 的头像
Vs. Super Inertia1 个月前

It would have been more funny if the last line was, "Who indents at 8, anyway?"

Jannis 的头像
Jannis1 个月前

In theory tabs are better but there's one big problem: People keep teying to align things and tabs don't have a defined width. For instance you cannot do this with tabs. With tabs it's also harder to define a maximum line limit.

Arjan Dikhoff⚓ 的头像
Arjan Dikhoff⚓1 个月前

Spaces are better. You can tell because the tabs guy is a cunt.

Stephen Jazdzewski 的头像
Stephen Jazdzewski1 个月前

Wow, one place where I can follow objectively smart people. Tabs and tab stops people. Emacs too lol!

Shane Chaffin 的头像
Shane Chaffin1 个月前

Why would I hit a button multiple times when I could just hit a button one time?

stemonte 的头像
stemonte1 个月前

The people who used the spaces are psychopathic and will surely have psychopathic ways of using the agents

Ryder 的头像
Ryder1 个月前

I felt personally offended when she pressed spaces like that at the end

Zbyněk Říha ✡ 的头像
Zbyněk Říha ✡1 个月前

And they still didn't grasp the essence of the matter: that indentation and a space are not semantically the same thing. A space is placed between things, while indentation is set back from something; a space is “space,” while indentation is “tab.”

Functional Programming India 🇮🇳《ミ》λ≡ 的头像
Functional Programming India 🇮🇳《ミ》λ≡1 个月前

Ironic that they are both on macbooks

Biobayes 的头像
Biobayes1 个月前

I mean, he's right, though. It's cleaner.

blogos47 的头像
blogos471 个月前

ROLF

ybabnwolc 的头像
ybabnwolc1 个月前

spaces are so much better it hurts

Idris Adam 的头像
Idris Adam1 个月前

The Vim part is the most craziest thing

Belter Smelter 的头像
Belter Smelter1 个月前

If anyone is this particular they have some sort of personality disorder. Just defer to the most obnoxious person on the team and tell them "yes, you're so smart and brilliant". Just make sure you check their ego once in a while because they will develop a god complex eventually.

steve 的头像
steve1 个月前

Spaces, because my code was written the way I want it to be consumed. My code was art to be admired at 2 space indents.

Tucker Scott Alleborn 的头像
Tucker Scott Alleborn1 个月前

It was outdated long before this episode though

Rovshan 的头像
Rovshan1 个月前

Tf he saying. It does not matter for compiled languages. I know he is working with compression and every byte matters but he doesn't know how compilers work?

ヤバイ 的头像
ヤバイ1 个月前

If you use spaces you’re genuinely retarded

Clicker 的头像
Clicker1 个月前

the silly thing about this is that she was pressing it 8 times, just press tab and the editor makes the spaces for you. also 8 spaces? its maximum 4, preferably 2

. 的头像
.1 个月前

For indentation, tabs all the way.

Ξlliott Lawson 的头像
Ξlliott Lawson1 个月前

What are we doing now that will end up that way?

Raven Levitt 的头像
Raven Levitt1 个月前

richard is right.

相关视频