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

parseInt(5)

lemmy.ml

message-square
65
fedilink
500

parseInt(5)

lemmy.ml

@OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev • 1 year ago
message-square
65
fedilink
  • @heavy@sh.itjust.works
    link
    fedilink
    English
    -3•1 year 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 year ago

      Maybe the design is bad, then.

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

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

    • @bleistift2@sopuli.xyz
      link
      fedilink
      English
      6•1 year 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 year ago

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

        • Victor
          link
          fedilink
          5•1 year ago

          You did say untyped though.

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

            Lol like facilitate versus effectuate

    • @zqwzzle@lemmy.ca
      link
      fedilink
      English
      -2•1 year 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
  • 1.52K users / day
  • 4.15K users / week
  • 8.16K users / month
  • 18K users / 6 months
  • 31.4K subscribers
  • 2.06K Posts
  • 68.8K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org