Re:Rewriting TypeScript in Rust? You'D have to be
by steveklabnik on Wednesday December 14, 2022 @04:40PM
(#33990993)
The real rub is in step 4: it is not always easy to determine what the spec means. And then you're basically back to "let's ask on github/reddit etc."
[ Parent
| on HN ]
Re:Rewriting TypeScript in Rust? You'D have to be
by yencabulator on Wednesday December 14, 2022 @05:06PM
(#33991286)
Just because the comprehensiveness of something is on a spectrum is not a reason to just not bother and have none at all.
Also, when done well a spec is a great way to learn & understand the language too. http://golang.org/ref/spec is so much more usable than Typescript's docs.
Re:Rewriting TypeScript in Rust? You'D have to be
by steveklabnik on Wednesday December 14, 2022 @05:36PM
(#33991693)
I agree that specifications are useful. I also think they're often presented as a panacea. It is important to acknowledge that they're a tool, with pros and cons, like any tool. The existence of a specification does not immediately mean that any and all ambiguities are resolved.