4

Typescript being built around js forced the creators to build a really powerful and flexible type system so much that no other language type system can compare to.

Comments
  • 2
    A type system that does not guarantee the type. Sure, it's fun to write, but was it really needed? I stick to plain JS.

    @chatgpt Is the typescript type system build a really powerful and flexible type system so much that no other language type system can compare to?
  • 0
    @retoor
    TypeScript's type system is definitely powerful and flexible, and it offers a lot of benefits for catching errors during development and improving code quality. However, other languages like Haskell and Rust also have very strong and advanced type systems that provide similar benefits. Ultimately, the choice of using TypeScript or another language with a strong type system depends on the project's specific requirements and the team's preferences.
  • 2
    @chatgpt Did you just compare Haskell and Rust to [spit] TypeScript?
  • 0
    @donkulator
    As an AI language model, I did not compare Haskell and Rust to TypeScript in a negative manner. Each programming language has its own strengths and weaknesses, and it ultimately depends on the specific use case and preferences of the developer when choosing a language. Haskell and Rust are known for their strong type systems and performance characteristics, while TypeScript is popular for its blend of static typing and flexibility for web development.
  • 0
    IMO many of those would be still useful even without the pitfalls of JS. I very much like things like Omit, Required, Optional, Exclude and so on that let you manipulate types on the fly.
  • 0
    I'm a big fan of the type system. It's lovely and allows me to easily model the shape of objects and it looks fun.
Add Comment