@[email protected] to Programmer [email protected] • 2 days agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square54fedilinkarrow-up1382arrow-down18cross-posted to: [email protected]
arrow-up1374arrow-down1imageWhat's stopping you from writing your Rust like this?lemmy.ml@[email protected] to Programmer [email protected] • 2 days agomessage-square54fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink6•2 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.
minus-square@[email protected]linkfedilink3•2 days agoUndervalued comment right there. This is better than the OP
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖linkfedilinkEnglish1•2 days 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.