• whatsarefoogee@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Nope. Use it very often, though mostly usually with typescript.

    Raw Javascript becomes a massive hindrance in any project past half a dozen files and 1000 lines.

    Typescript makes it a lot more usable.

      • icydefiance@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        The problem is refactoring. Want to rename a method? If the name isn’t unique enough to search for, you can’t do it. There’s too much risk that you’ll miss things and create severe bugs. Of course, that can be solved with really thorough unit tests, to some extent. But then you’re just spending a lot of extra time writing tests for things that typescript will enforce automatically.

        You also get much better autocomplete from the editor with typescript, which speeds up development a lot. You save a pretty huge amount of time if you don’t have to constantly look through documentation or even dig through a bunch of code to figure out what methods are available and how to use them.

    • alokir@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I agree, I also prefer Typescript, but I don’t think I’ve ever seen a meme about JS not having strongly typed variables.

      They either don’t center around any specific problem or things that are also mostly true about TS.