cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square58linkfedilinkarrow-up1400arrow-down19cross-posted to: programmerhumor@lemmy.ml
arrow-up1391arrow-down1imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square58linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up7·2 months agoNo, 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.
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eeBannedlinkfedilinkEnglisharrow-up1·edit-221 days agoRemoved by mod
Oh, so Rust is like JavaScript!
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.
Removed by mod