Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month ago

Which of these javascript expressions is false?

lemmy.ml

message-square
68
fedilink
431

Which of these javascript expressions is false?

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month ago
message-square
68
fedilink
  • jenesaisquoi@feddit.org
    link
    fedilink
    English
    arrow-up
    61
    arrow-down
    1
    ·
    1 month ago

    It’s C

    • JCpac@lemmy.today
      link
      fedilink
      English
      arrow-up
      92
      ·
      1 month ago

      No, it’s Javascript, keep up

      • ChickenLadyLovesLife@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 month ago

        Javascript is basically just C with some syntactical sugar, right? RIGHT?!?

        • kryptonianCodeMonkey@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          1 month ago

          Say when…

        • mcv@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          To the contrary, it’s Lisp with a lot of syntactic sugar to make it look more like C, but underneath it’s nothing like C. It’s a weird hybrid.

        • AngryCommieKender@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          I would say that your username doesn’t check out, but being honest we’re all coders, or at least script kiddie pirates, around here.

          • ChickenLadyLovesLife@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 month ago

            For reference.

    • MajesticElevator@lemmy.zip
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      1 month ago

      Wtf? Min > Max???

    • PrettyFlyForAFatGuy@feddit.uk
      link
      fedilink
      arrow-up
      5
      arrow-down
      4
      ·
      1 month ago

      deleted by creator

      • Log in | Sign up@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        1 month ago

        I always thought that NaN is required by IEEE rules to never equal any other number, including itself, because you can make NaN in different ways and this shouldn’t result in equality or something, so C is wild but not javascript’s fault.

        The other three being true is definitely javascript’s insane fault, though.

      • timhh@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        Completely wrong. I’m hoping this was a joke… :-D

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

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

  • 1.37K users / day
  • 4.32K users / week
  • 8.47K users / month
  • 16.3K users / 6 months
  • 1 local subscriber
  • 24.3K subscribers
  • 1.34K Posts
  • 32.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org