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

function {}

message-square
message-square
10
fedilink
11
message-square

function {}

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

alert-triangle
You must log in or register to comment.
  • GrishAix@feddit.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    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
      0
      ·
      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
        1
        ·
        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

  • Björn Tantau@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago
    function {
    }
    

    but

    method
    {
    }
    

    Don’t ask me why.

    • sguerrini97@feddit.it
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Why

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

        You don’t ask!

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

          Why

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

            Damn it Carl!

  • CoderKat@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I’m sorry, are you saying you indent the braces? Cause if that’s not unintentional, those are both horrifying!

  • snake_case@feddit.uk
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 years ago

    This image is cursed!!

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.19K users / day
  • 3.23K users / week
  • 8.18K users / month
  • 20.1K users / 6 months
  • 3 local subscribers
  • 24.8K subscribers
  • 1.58K Posts
  • 57.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org