lemmy.dexlit
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev • 1 month ago

parseInt(5)

lemmy.ml

message-square
66
fedilink
498

parseInt(5)

lemmy.ml

@OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev • 1 month ago
message-square
66
fedilink
  • @heavy@sh.itjust.works
    link
    fedilink
    English
    -3•1 month ago

    Theoretically, Javascript is an untyped language, so there aren’t supposed to really be static types. Giving type errors in this situation would be against design.

    • @jjjalljs@ttrpg.network
      link
      fedilink
      29•1 month ago

      Maybe the design is bad, then.

      • @heavy@sh.itjust.works
        link
        fedilink
        English
        5•1 month ago

        Lol you’ll get no argument from me. It’s not my favorite language.

    • @bleistift2@sopuli.xyz
      link
      fedilink
      English
      6•1 month ago

      JavaScript has types and it does have type errors, for instance

      > null.foo
      Uncaught TypeError: null has no properties
      

      Please stop spouting nonsense on issues you know nothing about.

      • @heavy@sh.itjust.works
        link
        fedilink
        English
        -4•1 month ago

        Dynamic types aren’t static types my man. I think you got some learning to do.

        • Victor
          link
          fedilink
          5•1 month ago

          You did say untyped though.

          • @heavy@sh.itjust.works
            link
            fedilink
            English
            0•1 month ago

            Lol like facilitate versus effectuate

    • @zqwzzle@lemmy.ca
      cake
      link
      fedilink
      English
      -2•1 month ago

      Theoretically, Javascript is an untyped language…

      Function only handles string arguments correctly. Wat.

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
  • 3.71K users / day
  • 6.27K users / week
  • 10.3K users / month
  • 18.7K users / 6 months
  • 23.9K subscribers
  • 1.46K Posts
  • 51.8K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org