The Bard's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Cipherd@lemmy.ml to Programmer Humor@programming.dev · 4 months ago

functions

lemmy.ml

message-square
51
link
fedilink
465

functions

lemmy.ml

Cipherd@lemmy.ml to Programmer Humor@programming.dev · 4 months ago
message-square
51
link
fedilink

cross-posted from: https://lemmy.ml/post/39334581

  • mindbleach@sh.itjust.works
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    4 months ago

    ()=>{}

    Javascript straddling the middle as usual.

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 months ago

      The equivalent in JavaScript / TypeScript would actually be function () {}, this is the syntax for named functions.

      C# is the same as bash though.

      • mindbleach@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        It’s object-oriented; you can assign this to a named variable.

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 281 users / day
  • 3.14K users / week
  • 4.99K users / month
  • 9.98K users / 6 months
  • 1 local subscriber
  • 30.5K subscribers
  • 1.57K Posts
  • 28.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.14
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org