19
Comments
  • 9
    🤣🤣🤣🤣🤣🤣🤣🤣
    JavaScript is such a terrible language that a typecasting framework had to be created to make sure that this shit never happens.
  • 9
    @sariel except the dumb fucks fucked that up and allowed 'any' as a type and now we have a framework for types without types, welcome to the full circle of JS bullshit.
  • 8
    Devs:
    But the equality relation has to be transitive!

    JavaScript:
    Transi… what? Dude, I am the most popular programming language in the world! Fuck off with your logic!
  • 2
    @C0D4 this is why I `no-explicit-any` as well as `no-implicit-any`
  • 0
    @C0D4

    That was need to easy transition from old js projects to ts
  • 1
    @shahidcodes "easy transition" sounds alot like "lazy development".

    Like my great grandpa used to tell me, "when you're transitioning to typescript make sure you just use it when it's convenient."
  • 0
    @sariel yeah, those rules help you find things, but you really don't want to turn them on right away.
  • 2
    Javashit is like php, but in a suboptimal way of it haha
  • 2
    Let's be real here. If anything in your code relies in equality that checks for anything in this meme you've got bigger issues than js
  • 0
    0 == “0” => the char “0” means 0
    0 == [] => the array [] has 0 length
    “0” == [] => the array [] equals the (char) array [‘0’], or as we like to call it the string “0”

    It actually does make sense that the last is false
Add Comment