cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square46fedilinkarrow-up1392cross-posted to: programmerhumor@lemmy.ml
arrow-up1392imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square46fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareduckythescientist@sh.itjust.workslinkfedilinkarrow-up79·2 months agoI’m good at Python, and I don’t know Rust. This looks fine to me. I’ve fully missed the joke.
minus-squareLogi@lemmy.worldlinkfedilinkarrow-up162·edit-22 months agoSame. Until you notice the column of curly braces and semi colons in the right margin.
minus-squareArcka@midwest.sociallinkfedilinkEnglisharrow-up21·2 months agoOh, so Rust is like JavaScript!
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up7·2 months 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-up2·2 months agoUndervalued comment right there. This is better than the OP
I’m good at Python, and I don’t know Rust. This looks fine to me. I’ve fully missed the joke.
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
Oh… Oh god