ThePlexus
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Cipherd@lemmy.ml to Programmer Humor@lemmy.ml · 7 months ago

functions

lemmy.ml

message-square
9
fedilink
  • cross-posted to:
  • [email protected]
1

functions

lemmy.ml

Cipherd@lemmy.ml to Programmer Humor@lemmy.ml · 7 months ago
message-square
9
fedilink
  • cross-posted to:
  • [email protected]
  • davel@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 months ago

    JavaScript can do better than that:

    () => {}
    
    • Oriel Jutty :hhHHHAAAH:@infosec.exchange
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      C++: [](){}

      • davel@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        7 months ago

        Huh, I haven’t looked at C++ in decades, and I didn’t know they’d added lambda functions/expressions, in C++11. Apparently you can shorten it further: []{}

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: [email protected]

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.

  • 1 user / day
  • 17 users / week
  • 112 users / month
  • 504 users / 6 months
  • 0 local subscribers
  • 42.4K subscribers
  • 238 Posts
  • 991 Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org