cm0002@lemmy.world to Programmer Humor@programming.dev · 1 个月前What's stopping you from writing your Rust like this?lemmy.mlimagemessage-square62fedilinkarrow-up1406arrow-down19cross-posted to: [email protected]
arrow-up1397arrow-down1imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 个月前message-square62fedilinkcross-posted to: [email protected]
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up7·1 个月前No, Rust lacks the semicolon elision rules of Javascript which make everyone always use semicolons in javascript because they’re so horribly broken. Rust is like ML, quite literally, not just by ancestry: The syntax is palpably ugly, but at least it’s sane, regular, and concise where it matters.
No, Rust lacks the semicolon elision rules of Javascript which make everyone always use semicolons in javascript because they’re so horribly broken.
Rust is like ML, quite literally, not just by ancestry: The syntax is palpably ugly, but at least it’s sane, regular, and concise where it matters.