3 ms·
Yes, I realize that's not the goal which is why I said 'by choice'. I just think it's not the right approach ultimately. Other safer languages also reach the go
by yawaramin 7y ago
Yes, I realize that's not the goal which is why I said 'by choice'. I just think it's not the right approach ultimately. Other safer languages also reach the goals of code completion and error detection.
- seanmcdirmid 7y agoMost of the highly typed languages actually do a poor job with code completion and error handling, they were specifically designed with safety in mind and other aspects of the type system are given only secondary attention. TyoeScript is nice because it focuses on where type systems are really useful (feedback) as a first concern.
- yawaramin 7y agoFortunately, the typed AltJS language with the highest interest levels after TypeScript actually has really good code completion and error reporting :-) Oh, and build speeds so fast that it's blink-and-you-miss-it. I think that's a pretty important part of useful feedback (and one that I hear TypeScript is not that great at).
- seanmcdirmid 7y agoWhich language is that? Reason? How is its code completion experience anyways? TypeScript has a dog of a compiler, I'll give you that. But that wasn't what I was referring to.
- yawaramin 7y agoYup! See: - https://reasonml.github.io/docs/en/editor-plugins https://reasonml.github.io/docs/en/editor-plugins - https://reasonml.github.io/docs/en/faq#why-are-bucklescript-and-bsb-so-fast-how-can-i-slow-it-down https://reasonml.github.io/docs/en/faq#why-are-bucklescript-... - Oh, and a really fun one from TypeScript: https://news.ycombinator.com/item?id=20045066 https://news.ycombinator.com/item?id=20045066