My Lemny
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
voodooattack@lemmy.world to Programmer Humor@lemmy.ml · 21 days ago

Low effort meme

lemmy.ml

message-square
12
link
fedilink
1

Low effort meme

lemmy.ml

voodooattack@lemmy.world to Programmer Humor@lemmy.ml · 21 days ago
message-square
12
link
fedilink
  • voodooattack@lemmy.worldOP
    link
    fedilink
    arrow-up
    0
    ·
    20 days 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
      ·
      20 days 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
        ·
        19 days 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.

  • 8 users / day
  • 72 users / week
  • 175 users / month
  • 1.24K users / 6 months
  • 0 local subscribers
  • 38.6K subscribers
  • 1.86K Posts
  • 32.6K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org