social.sour.is
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Cipherd to Programmer Humor@lemmy.ml • 4 months ago

functions

lemmy.ml

message-square
36
fedilink
288

functions

lemmy.ml

Cipherd to Programmer Humor@lemmy.ml • 4 months ago
message-square
36
fedilink
  • @bleistift2@sopuli.xyz
    link
    fedilink
    12•4 months ago
    function() {}
    
    • davel [he/him]
      link
      fedilink
      English
      13•4 months ago

      JavaScript can do better than that:

      () => {}
      
      • Oriel Jutty :hhHHHAAAH:
        link
        fedilink
        6•4 months ago

        C++: [](){}

        • davel [he/him]
          link
          fedilink
          English
          5•
          edit-2
          4 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: []{}

      • @bleistift2@sopuli.xyz
        link
        fedilink
        English
        1•4 months ago

        The intention was to provide a longer version for the first step of the ladder.

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.
  • 205 users / day
  • 209 users / week
  • 1.89K users / month
  • 5.51K users / 6 months
  • 41.6K subscribers
  • 2.05K Posts
  • 42.4K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org