cm0002@lemmy.world to Programmer Humor@programming.dev · 10 days agoWhat's stopping you from writing your Rust like this?lemmy.mlexternal-linkmessage-square58fedilinkarrow-up11arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up11arrow-down1external-linkWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 10 days agomessage-square58fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareArcka@midwest.sociallinkfedilinkEnglisharrow-up0·10 days agoOh, so Rust is like JavaScript!
minus-squareF04118F@feddit.nllinkfedilinkarrow-up0·10 days agoUndervalued comment right there. This is better than the OP
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up0·10 days 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.
Oh, so Rust is like JavaScript!
Undervalued comment right there. This is better than the OP
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.