4 ms·
If you want something that is similar but looks better and more mature, check out Mint (mint-lang.com - I'm the author)
by gdotdesign 1y ago
If you want something that is similar but looks better and more mature, check out Mint (mint-lang.com - I'm the author)
- latchkey 1y agoSurprised I haven't seen this before. This looks quite good! I love the store, router and batteries default inclusion! 8 years and haven't hit 1.0, that's a bit of torture, no?
- gdotdesign 1y agoIn the last 8 years, we had two kids and I have a full-time job, so Mint was/is a side project with virtually no marketing. Yes, it is a bit of torture :) however I'm getting there. Context (https://mint-lang.com/news/context https://mint-lang.com/news/context) was the last bigger feature before 1.0 which I'm planning to release this year.
- epolanski 1y agoI'm giving it a look but I can't really figure out much about the type system and how does it compare to TypeScript.
- gdotdesign 1y ago- The type system documentation is here: https://mint-lang.com/reference/types/type-system https://mint-lang.com/reference/types/type-system - in short it's a functional language at heart with a Hindley–Milner type system - TypeScript syntax comparison is here: https://mint-lang.com/from/typescript https://mint-lang.com/from/typescript - The feature matrix which compares languages features is here: https://mint-lang.com/feature-matrix https://mint-lang.com/feature-matrix I hope you find those helpful :)
- epolanski 1y agoThank you, wonder why I couldn't find them. edit: by the way TypeScript supports both ADTs (through tagged unions) as well as exhausting pattern matching (on tagged unions, but an alternative can be using `instanceof`).
- gdotdesign 1y agoTechnically you can yes, but the language doesn't support it out of the box, you need to jump through hoops to make it work. But you are right, I'll change TypeScript to say it's partially supported.
- diffrinse 1y agoThis looks really well thought out