cm0002@lemmy.world to Programmer Humor@programming.dev · 14 hours agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square44fedilinkarrow-up1304arrow-down15cross-posted to: [email protected]
arrow-up1299arrow-down1imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 14 hours agomessage-square44fedilinkcross-posted to: [email protected]
minus-squareArcka@midwest.sociallinkfedilinkEnglisharrow-up20·10 hours agoOh, so Rust is like JavaScript!
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up3·2 hours 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.eelinkfedilinkEnglisharrow-up1·3 hours agoPretty sure javascript is like c but I I can’t be mad at the js devs for the awful language they write.
minus-squareF04118F@feddit.nllinkfedilinkarrow-up2·4 hours 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.
Pretty sure javascript is like c but I I can’t be mad at the js devs for the awful language they write.
Undervalued comment right there. This is better than the OP