Feddit.it
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
jopsozepsi@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago

function {}

message-square
message-square
12
link
fedilink
40
message-square

function {}

jopsozepsi@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago
message-square
12
link
fedilink

  • GrishAix@feddit.de
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 years ago
    function {
    }
    

    Is for cheaters who want to squeeze as much code as possible onto one screen.

    • zygo_histo_morpheus@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      only good thing about javascript is that it forces people to put the squiggly brackets on the right

      • bcrussin_dev@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        I thought you could put curly brackets on a new line in js? Although I know when returning an object it has to be on the same line… fuck JavaScript man

        • zygo_histo_morpheus@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          Exactly, your options are either mixing curly brackets or putting them all on the right and most people aren’t crazy enough to mix then

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.

  • 1.38K users / day
  • 5.08K users / week
  • 9.09K users / month
  • 17.9K users / 6 months
  • 75 local subscribers
  • 23.2K subscribers
  • 1.4K Posts
  • 51.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org