hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoI like Python deflemmy.worldimagemessage-square63fedilinkarrow-up1305arrow-down125
arrow-up1280arrow-down1imageI like Python deflemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square63fedilink
minus-squareXylight (Photon dev)@lemmy.xylight.devlinkfedilinkEnglisharrow-up9·1 year agothese puns are getting funcy
minus-squareMultipleAnimals@sopuli.xyzlinkfedilinkarrow-up6·edit-21 year agopub async fn foo() -> Pin>>>>> oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine
minus-squareAVincentInSpace@pawb.sociallinkfedilinkarrow-up2·edit-21 year agoPin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
How about some
fn
instead?these puns are getting
func
ypub async fn foo() -> Pin>>>>>
oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine
p a f fn(){}
Pin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
Exactly, now we are talking
So much better
Chef’s kiss 👌