正在加载视频...

视频加载失败

Rust's syntax is straight up insane!

222,456 次观看 • 1 年前 •via X (Twitter)

10 条评论

𝒫𝑒𝓇 𝒜𝓇𝓃𝑒𝓃𝑔 【🐧λ🦀⎈】 的头像
𝒫𝑒𝓇 𝒜𝓇𝓃𝑒𝓃𝑔 【🐧λ🦀⎈】1 年前

Most FP languages are like this and it makes total sense. While Rust might not be full FP it took some good parts of it. It's C that is weird by having to have a ternary operator just because 'if' can't isn't an expression.

eigenspectra 的头像
eigenspectra1 年前

You haven't seen the weird rustc test cases, have you?

man  的头像
man 1 年前

you get a compiler warning if you add the parentheses lmao

Neutral Audience 👁️ 的头像
Neutral Audience 👁️1 年前

Chased the #Rust hype but got hit with the bust 😅

SweetAnchovy 的头像
SweetAnchovy1 年前

You should see anything ECMAScript.

Тsфdiиg 的头像
Тsфdiиg1 年前

Thank you, I've seen enough of it through my career :)

Roumaan 的头像
Roumaan1 年前

Why would you allow to ever skip parentheses around the if condition, what does that achieve

Wikinger 的头像
Wikinger1 年前

rust is not for retards, like the one on the video

Тsфdiиg 的头像
Тsфdiиg1 年前

Ah yes, the classic hypocrisy of an average Rust fan :)

Why Not JavaScript 的头像
Why Not JavaScript1 年前

I love that about rust. I wish other languages had the "everything is an expression" thing.

相关视频

Setting up claymores is insane
0:54

Sensitive content

Setting up claymores is insane

Nelk Boys

227,726 次观看 • 1 个月前