lemmy.mlaga97.space
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
voodooattack@lemmy.world to Programmer Humor@lemmy.ml · 1 month ago

Low effort meme

lemmy.ml

message-square
13
link
fedilink
1

Low effort meme

lemmy.ml

voodooattack@lemmy.world to Programmer Humor@lemmy.ml · 1 month ago
message-square
13
link
fedilink
  • voodooattack@lemmy.worldOP
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    The problem is that lambdas with a capture aren’t strongly typed, so you have to use auto. And if you pass such a lambda to a function you’ll have to use auto as well.

    If you write a lambda with a capture that calls itself recursively you’ll have to pass it to itself as an auto argument as part of the call signature.

    I think this article explains it better: https://artificial-mind.net/blog/2020/09/12/recursive-lambdas

    • Oriel Jutty :hhHHHAAAH:@infosec.exchange
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      This is an entirely new way to misuse “strongly typed” that I was not aware of before. Amazing.

      Thank you!

      • voodooattack@lemmy.worldOP
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        You’re welcome. Just don’t blame me when your brain starts cursing in foreign languages you don’t even know. ;)

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.

  • 4 users / day
  • 57 users / week
  • 186 users / month
  • 1.18K users / 6 months
  • 0 local subscribers
  • 38.8K subscribers
  • 1.69K Posts
  • 23.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org