VA-11 Hall-A Bar
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@cm0002@lemmy.world to Programmer Humor@programming.dev • 1 month ago

JavaScript

lemmy.ml

message-square
157
  • cross-posted to:
  • programmerhumor@lemmy.ml
1.05K

JavaScript

lemmy.ml

@cm0002@lemmy.world to Programmer Humor@programming.dev • 1 month ago
message-square
157
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • Calavera
    link
    fedilink
    10•1 month ago

    It makes sense though

    • qaz
      link
      fedilink
      English
      27•1 month ago

      https://en.wikipedia.org/wiki/Stockholm_syndrome

      • @mapleseedfall@lemmy.world
        link
        fedilink
        6•1 month ago

        This here is my absolute favorits way to diss someone. Send the a wikipeda link and bam!

        • @Rivalarrival@lemmy.today
          link
          fedilink
          English
          1•1 month ago

          https://en.m.wikipedia.org/wiki/Anilingus

    • @zzx@lemmy.world
      link
      fedilink
      8•1 month ago

      … It does?

    • @PieMePlenty@lemmy.world
      link
      fedilink
      3•1 month ago

      It does to some degree.

      • “11” is string, 1 is an int, because strings can be added (+) convert int to string and combine: “11”+“1” = “111”
      • “11” is string, 1 is an int, because strings cant be subtracted (-) convert string to int and combine: 11-1 = 10

      I’m not into JS so I don’t know how it takes priority. ints can be added too, so I guess its basing it on the first variable which is compatible with the operator: in the first case string, in the second case int.

      If this is how it works, it makes sense. But imo its a case of the designers being preoccupied with whether or not they could, they didn’t stop to think if they should.

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.38K users / day
  • 3.71K users / week
  • 7.7K users / month
  • 18.8K users / 6 months
  • 24.9K subscribers
  • 1.56K Posts
  • 54.2K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.1
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org