cm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square35linkfedilinkarrow-up1148cross-posted to: programmerhumor@lemmy.ml
arrow-up1148imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agomessage-square35linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareArcka@midwest.sociallinkfedilinkEnglisharrow-up2·2 years agoOh, so Rust is like JavaScript!
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up1·2 years 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-squareF04118F@feddit.nllinkfedilinkarrow-up0·2 years agoUndervalued comment right there. This is better than the OP
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.
Undervalued comment right there. This is better than the OP