The Enchanted Tavern
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@realitista@lemmy.world to Programmer Humor@programming.dev • 2 years ago

Pure Evil

lemmy.world

message-square
62
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
447

Pure Evil

lemmy.world

@realitista@lemmy.world to Programmer Humor@programming.dev • 2 years ago
message-square
62
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or register to comment.
  • newIdentity
    link
    fedilink
    -1•2 years ago

    Who uses semicolons in Javascript?

    • @BearJCC@lemmy.sdf.org
      link
      fedilink
      6•2 years ago

      Old habits die hard. Learned JS, CSS and C++ all the same year about a decade ago.

    • @seitanic@lemmy.sdf.org
      link
      fedilink
      32•2 years ago

      Programmers who care about best practices. Here are a couple of scenarios where not using a semicolon will bite you in the ass.

      • newIdentity
        link
        fedilink
        -10•
        edit-2
        2 years ago

        deleted by creator

        • @seitanic@lemmy.sdf.org
          link
          fedilink
          10•2 years ago

          ~95% of the JS code you see on the Web has semicolons. Apparently, a lot of programmers think it’s worth that extra keystroke to avoid these types of bugs. I agree with them. The difficulty with programming isn’t “Arrgh, there are too many keystrokes, my hands are tired!” It’s “Arrgh, HTF did this bug get in here?!?”

          • @tryagain@lemmy.ml
            link
            fedilink
            1•2 years ago

            I don’t even bother typing them because I like having eslint do it for me.

        • @rockSlayer@lemmy.world
          link
          fedilink
          1•
          edit-2
          2 years ago

          They made it a named function, but this is literally how you format anonymous functions in js, a key feature that usually gets called with stuff like an onclick or onload call in the html domain.

    • @tkarika@lemmy.world
      link
      fedilink
      25•2 years ago

      Every real programmers

      • @psud@aussie.zone
        link
        fedilink
        2•2 years ago

        In that sentence, we use “programmer” singular, because “every” is singular, though referring to many

        All real programmers

        Every real programmer

        Each real programmer

        No real programmer

        It’s pretty arbitrary

    • @Perfide@reddthat.com
      link
      fedilink
      5•2 years ago

      People who like minimizing the amount of bug fixing.

    • @manapropos@lemmy.basedcount.com
      link
      fedilink
      3•2 years ago

      I use prettier which by default adds semicolons. Coming from predominately doing backend stuff (mostly in Java) I don’t really mind, especially when the formatter adds them for me

      • newIdentity
        link
        fedilink
        1•2 years ago

        That’s what I do too, but i don’t manually add them

Programmer Humor@programming.dev

!programmer_humor@programming.dev
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
  • 41 users / day
  • 440 users / week
  • 1.23K users / month
  • 3.81K users / 6 months
  • 1 subscriber
  • 1.38K Posts
  • 45.5K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • UI: unknown version
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org