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

JavaScript

lemmy.ml

message-square
26
fedilink
169

JavaScript

lemmy.ml

☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.mlEnglish • 9 days ago
message-square
26
fedilink
  • propter_hog [any, any]
    link
    fedilink
    English
    20•9 days ago

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

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

      yup

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

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

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

      Thanks for the explanation

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml

remote_follow_modal_title

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.
  • 399 users / day
  • 1.7K users / week
  • 3.54K users / month
  • 9.63K users / 6 months
  • 36.4K subscribers
  • 1.68K Posts
  • 30.9K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org