halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 2 years ago

===

programming.dev

message-square
76
fedilink
678

===

programming.dev

@[email protected] to Programmer [email protected] • 2 years ago
message-square
76
fedilink
  • @[email protected]
    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.

    • @[email protected]
      link
      fedilink
      3•2 years ago

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

      • @[email protected]
        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.

        • @[email protected]
          link
          fedilink
          3•2 years ago

          Linters and minifers are completely different tools.

          • @[email protected]
            link
            fedilink
            3•2 years ago

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

            Thanks!

Programmer [email protected]

[email protected]

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: [email protected]

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.97K users / day
  • 4.95K users / week
  • 8.62K users / month
  • 19.2K users / 6 months
  • 26.4K subscribers
  • 1.74K Posts
  • 62.9K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org