monyet.cc
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@JPDev@programming.dev to Programmer Humor@programming.dev • 2 years ago

===

programming.dev

message-square
76
fedilink
677

===

programming.dev

@JPDev@programming.dev to Programmer Humor@programming.dev • 2 years ago
message-square
76
fedilink
  • @SzethFriendOfNimi@lemmy.world
    link
    fedilink
    0•2 years ago

    Try changing to const === variable. That’s most likely what’s it doing to minimize the risk of accidental assignment.

    • @kevincox@lemmy.ml
      link
      fedilink
      3•2 years ago

      Wut? This is an automated optimizer. It is not worried about accidental assignment.

      • @SzethFriendOfNimi@lemmy.world
        link
        fedilink
        1•2 years ago

        I agree it shouldn’t. But I’ve seen linters that automatically change it since they seem to be forcing practical conventions sometimes.

        • @kevincox@lemmy.ml
          link
          fedilink
          3•2 years ago

          Linters and minifers are completely different tools.

          • @SzethFriendOfNimi@lemmy.world
            link
            fedilink
            3•2 years ago

            Good point. That’s what I get for shooting from the hip.

            Thanks!

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
  • 1.48K users / day
  • 6.08K users / week
  • 9.67K users / month
  • 19.7K users / 6 months
  • 26.8K subscribers
  • 1.85K Posts
  • 70.5K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org