517
I like Python def (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] the_beber@lemm.ee 42 points 1 year ago
[-] Andrew15_5@mander.xyz 34 points 1 year ago
[-] MultipleAnimals@sopuli.xyz 16 points 1 year ago* (last edited 1 year ago)
pub async fn foo() -> Pin>>>>>

oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine

[-] flashgnash@lemm.ee 5 points 1 year ago
[-] AVincentInSpace@pawb.social 2 points 1 year ago* (last edited 1 year ago)

Pin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>

[-] MultipleAnimals@sopuli.xyz 2 points 1 year ago

Exactly, now we are talking

[-] Xylight@lemmy.xylight.dev 12 points 1 year ago

these puns are getting funcy

[-] LufyCZ@lemmy.dbzer0.com 2 points 1 year ago

So much better

[-] ______@lemm.ee 2 points 1 year ago

Chef's kiss ๐Ÿ‘Œ

[-] sbv@sh.itjust.works 25 points 1 year ago

fun is the punchable face of keywords. I don't know why, but I hate it.

[-] pivot_root@lemmy.world 15 points 1 year ago

Oh, you're no fun.

^I'll see myself out.^

[-] mvirts@lemmy.world 6 points 1 year ago

For me it's friend

[-] SubArcticTundra@lemmy.ml 5 points 1 year ago

I prefer good old def

[-] autokludge@programming.dev 12 points 1 year ago

How about some (defun)?

[-] darcy@sh.itjust.works 5 points 1 year ago

better than function

this post was submitted on 24 Sep 2023
517 points (93.0% liked)

Programmer Humor

32558 readers
540 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS