cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square23fedilinkarrow-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-square23fedilinkcross-posted to: [email protected]
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.
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.