@HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish • edit-214 hours agoWhy make it complicated?lemmy.mlimagemessage-square74fedilinkarrow-up1254arrow-down10file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1254arrow-down1imageWhy make it complicated?lemmy.ml@HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish • edit-214 hours agomessage-square74fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-square@calcopiritus@lemmy.worldlinkfedilink13•11 hours agoIt’s also valid rust syntax. But if it were rust, this meme would not make sense, since you would just type let a and type inference would do its thing. Which is much more ergonomic.
minus-squareVictorlinkfedilink1•54 minutes agoType inference is a pretty big thing in TypeScript as well though. In fact it’s probably the biggest thing about it, IMO.
minus-square@nebeker@programming.devlinkfedilinkEnglish4•10 hours agolet a = String::from(“Hello, world!”).into() I’ll see myself out.
minus-square@WhyJiffie@sh.itjust.workslinkfedilinkEnglish3•10 hours agoI was thinking the same thing. who would write typescript if they could just do Rust?
minus-squareVictorlinkfedilink1•54 minutes agoI would because I know TypeScript and I don’t know Rust.
That looks like rust ngl
It’s also valid rust syntax.
But if it were rust, this meme would not make sense, since you would just type
let a
and type inference would do its thing. Which is much more ergonomic.Type inference is a pretty big thing in TypeScript as well though. In fact it’s probably the biggest thing about it, IMO.
let a = String::from(“Hello, world!”).into()
I’ll see myself out.
I was thinking the same thing. who would write typescript if they could just do Rust?
I would because I know TypeScript and I don’t know Rust.