Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
 vitonsky   ( @vitonsky@programming.dev )  to ProgrammingEnglish · 2 years ago

Refusing TypeScript is a signal that you don't care about code quality

vitonsky.net

external-link
message-square
61
link
fedilink
  • cross-posted to:
  • programming@programming.dev
79
external-link

Refusing TypeScript is a signal that you don't care about code quality

vitonsky.net

 vitonsky   ( @vitonsky@programming.dev )  to ProgrammingEnglish · 2 years ago
message-square
61
link
fedilink
  • cross-posted to:
  • programming@programming.dev
A few days ago, David Heinemeier Hansson announced that Turbo 8 is dropping TypeScript . I'm okay with that because I don't even know what Turbo 8 is. However, over the past few years, some frontend programmers have tried to sell me the idea that "TypeScript is useless, just use tests". I think people with such opinions either don't care about code quality or simply don't know what TypeScript is. Here, I will explain why you should use TypeScript.
  •  The Cuuuuube   ( @Cube6392@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    It was used pretty frequently for back end APIs too

    •  MrGG   ( @MrGG@lemmy.ca ) 
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      That is disturbing. From my perspective, anyway. There are already so many great (and more appropriate) stacks for web backends, why Frankenstein a Frankenstein into it?

      •  Knusper   ( @Knusper@feddit.de ) 
        link
        fedilink
        arrow-up
        13
        ·
        2 years ago

        Well, usually because you’ve got a team of frontend folks needing to do a backend.

        There’s one other advantage, which is that you can have a compile-time shared model between backend and frontend. You also have that advantage with WASM, but not with a traditional backend/frontend technology split…

        •  abhibeckert   ( @abhibeckert@beehaw.org ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Compile time is my biggest issue with TypeScript. I’ve used JavaScript for decades with compile time measured in, what, a millisecond or two. Having to wait for TypeScript drives me nuts.

      •  The Cuuuuube   ( @Cube6392@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 years ago

        🤷 people like nodejs and people like type hinting and IDE reflection. Typescript helps a lot with that

Programming

programming

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: !programming@beehaw.org

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Visibility: Public
globe

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

  • 2 users / day
  • 2 users / week
  • 17 users / month
  • 158 users / 6 months
  • 2.61K local subscribers
  • 14.7K subscribers
  • 363 Posts
  • 3.87K Comments
  • Modlog
  • mods:
  •  Chris Remington   ( @remington@beehaw.org ) 
  •  alyaza [they/she]   ( @alyaza@beehaw.org ) 
  •  Hexorg   ( @Hexorg@beehaw.org ) 
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code