cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square29fedilinkarrow-up113arrow-down10cross-posted to: [email protected]
arrow-up113arrow-down1imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square29fedilinkcross-posted to: [email protected]
minus-squareduckythescientist@sh.itjust.workslinkfedilinkarrow-up0·2 days 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-up4·edit-22 days agoSame. Until you notice the column of curly braces and semi colons in the right margin.
minus-squareArcka@midwest.sociallinkfedilinkEnglisharrow-up0·1 day agoOh, so Rust is like JavaScript!
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up1·1 day 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.
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… Oh god
Lgtm ship it to prod
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.