Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 22 days ago

JavaScript

lemmy.ml

message-square
157
fedilink
  • cross-posted to:
  • [email protected]
729

JavaScript

lemmy.ml

@[email protected] to Programmer [email protected] • 22 days ago
message-square
157
fedilink
  • cross-posted to:
  • [email protected]
  • Calavera
    link
    fedilink
    9•20 days ago

    It makes sense though

    • qaz
      link
      fedilink
      English
      26•20 days ago

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

      • @[email protected]
        link
        fedilink
        6•20 days ago

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

        • @[email protected]
          link
          fedilink
          English
          1•20 days ago

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

    • @[email protected]
      link
      fedilink
      8•20 days ago

      … It does?

    • @[email protected]
      link
      fedilink
      3•20 days 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 [email protected]

[email protected]
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 user / day
  • 218 users / week
  • 1.51K users / month
  • 4.3K users / 6 months
  • 3 subscribers
  • 1.55K Posts
  • 55.1K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org