lemmy.dexlit
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.mlEnglish • 27 days ago

JavaScript

lemmy.ml

message-square
26
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
169

JavaScript

lemmy.ml

☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.mlEnglish • 27 days ago
message-square
26
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
  • propter_hog [any, any]
    link
    fedilink
    English
    21•27 days ago

    + is overloaded for string concatenation, but - isn’t so the interpreter coerces the “11” into a number first.

    • ☆ Yσɠƚԋσʂ ☆OP
      link
      fedilink
      8•26 days ago

      yup

    • @vfreire85@lemmy.ml
      link
      fedilink
      2•26 days ago

      we have a concept for that in brazilian portuguese. it’s called “gambiarra”.

    • @FireIced@lemmy.super.ynh.fr
      link
      fedilink
      1•25 days ago

      Thanks for the explanation

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 216 users / day
  • 1.04K users / week
  • 3.57K users / month
  • 10K users / 6 months
  • 36.9K subscribers
  • 1.76K Posts
  • 34.1K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org