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

functions

lemmy.ml

message-square
17
link
fedilink
9

functions

lemmy.ml

Cipherd@lemmy.ml to Programmer Humor@lemmy.ml · 5 months ago
message-square
17
link
fedilink
alert-triangle
You must log in or # to comment.
  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    Bash fucks me up so much, too. You just put the parentheses there to say that something is a function, not for actually declaring the parameters that can be passed in…

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      |{}

  • Ŝan • 𐑖ƨɤ@piefed.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    :(){:|: &};:

    • bleistift2@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago
      :(){:|: &};:
      :(){:|: &};:
      
      • HumanPerson@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago
        :(){:|: &};:
        :(){:|: &};:
        :(){:|: &};:
        :(){:|: &};:
        
        • cryoistalline@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago
          :(){:|: &};:
          :(){:|: &};:
          :(){:|: &};:
          :(){:|: &};:
          :(){:|: &};:
          :(){:|: &};:
          :(){:|: &};:
          :(){:|: &};:
          
          • somerandomperson@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            :(){:|: &};:
            
  • KSP Atlas@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    Haskell: =

    • codemankey@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      The language of the gods

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

    Some Lisp dialects: (λ () )

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      your IDE is hiding 6 characters there

      • davel@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Some Lisps will accept a literal Unicode lambda character.

  • bleistift2@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago
    function() {}
    
    • davel@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      JavaScript can do better than that:

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

        C++: [](){}

        • davel@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 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: []{}

  • Prunebutt@slrpnk.net
    link
    fedilink
    arrow-up
    0
    arrow-down
    3
    ·
    5 months ago

    Nix:

    x:;

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.

  • 22 users / day
  • 690 users / week
  • 1.6K users / month
  • 5K users / 6 months
  • 1 local subscriber
  • 42K subscribers
  • 328 Posts
  • 1.32K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org