Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Cipherd@lemmy.ml to Programmer Humor@lemmy.ml · 9 個月前

functions

lemmy.ml

message-square
9
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
1

functions

lemmy.ml

Cipherd@lemmy.ml to Programmer Humor@lemmy.ml · 9 個月前
message-square
9
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
alert-triangle
You must log in or # to comment.
  • KSP Atlas@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    9 個月前

    Haskell: =

    • codemankey@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 個月前

      The language of the gods

  • solomonschuler@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 個月前

    deleted by creator

  • davel [he/him]@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 個月前

    Some Lisp dialects: (λ () )

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 個月前

      your IDE is hiding 6 characters there

      • davel [he/him]@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        8 個月前

        Some Lisps will accept a literal Unicode lambda character.

  • bleistift2@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    9 個月前
    function() {}
    
    • davel [he/him]@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 個月前

      JavaScript can do better than that:

      () => {}
      
      • Oriel Jutty :hhHHHAAAH:@infosec.exchange
        link
        fedilink
        arrow-up
        1
        ·
        9 個月前

        C++: [](){}

        • davel [he/him]@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 個月前

          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: !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.

  • 78 users / day
  • 12 users / week
  • 87 users / month
  • 3.54K users / 6 months
  • 3 local subscribers
  • 42.4K subscribers
  • 2.05K Posts
  • 38.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.14
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org