Norbi's Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 个月前

JavaScript

lemmy.ml

message-square
26
link
fedilink
174

JavaScript

lemmy.ml

☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 个月前
message-square
26
link
fedilink
  • propter_hog [any, any]@hexbear.net
    link
    fedilink
    English
    arrow-up
    22
    ·
    4 个月前

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

    • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      4 个月前

      yup

    • vfreire85@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      4 个月前

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

    • FireIced@lemmy.super.ynh.fr
      link
      fedilink
      arrow-up
      1
      ·
      4 个月前

      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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 317 users / day
  • 858 users / week
  • 1.87K users / month
  • 8.04K users / 6 months
  • 1 local subscriber
  • 38.5K subscribers
  • 1.34K Posts
  • 17.4K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org