Загрузка видео...

Не удалось загрузить видео

На главную

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 месяц назад