Personal Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hypertown@lemmy.world to Programmer Humor@lemmy.ml · 3 years ago

I like Python def

lemmy.world

message-square
12
link
fedilink
13

I like Python def

lemmy.world

hypertown@lemmy.world to Programmer Humor@lemmy.ml · 3 years ago
message-square
12
link
fedilink
  • Andrew@mander.xyz
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    How about some fn instead?

    • MultipleAnimals@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 years ago
      pub async fn foo() -> Pin>>>>>
      

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

      • AVincentInSpace@pawb.socialBanned from community
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

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

        • MultipleAnimals@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

          Exactly, now we are talking

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 24 users / day
  • 145 users / week
  • 1.33K users / month
  • 4.99K users / 6 months
  • 1 local subscriber
  • 43K subscribers
  • 1.89K Posts
  • 30.6K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org