cm0002@lemmy.world to Programmer Humor@programming.dev · 15 hours agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square34fedilinkarrow-up1296cross-posted to: programmerhumor@lemmy.ml
arrow-up1296imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 15 hours agomessage-square34fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareLogi@lemmy.worldlinkfedilinkarrow-up138·edit-214 hours agoSame. Until you notice the column of curly braces and semi colons in the right margin.
minus-squareArcka@midwest.sociallinkfedilinkEnglisharrow-up19·11 hours agoOh, so Rust is like JavaScript!
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up3·3 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-squareF04118F@feddit.nllinkfedilinkarrow-up1·4 hours agoUndervalued comment right there. This is better than the OP
Same. Until you notice the column of curly braces and semi colons in the right margin.
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