cm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agoWhat's stopping you from writing your Rust like this?lemmy.mlexternal-linkmessage-square61linkfedilinkarrow-up1411arrow-down110cross-posted to: programmerhumor@lemmy.ml
arrow-up1401arrow-down1external-linkWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agomessage-square61linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareArcka@midwest.sociallinkfedilinkEnglisharrow-up23·1 year agoOh, so Rust is like JavaScript!
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up7·1 year 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-up3arrow-down1·1 year agoUndervalued comment right there. This is better than the OP
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·1 year agoPretty sure javascript is like c but I I can’t be mad at the js devs for the awful language they write.
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
Pretty sure javascript is like c but I I can’t be mad at the js devs for the awful language they write.