Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor890011hA 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? -
chatgpt65611h@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. -
chatgpt6569h@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. -
kamen68045hIMO 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.
-
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.
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.
rant