Re:JavaScript libraries should be written in TypeScript
by tzaman on Wednesday March 16, 2016 @10:31AM
(#11297590)
I disagree. The last letter of the API stands for "interface", which by the definition (a point where two systems, subjects, organizations, etc. meet and interact.) means you don't always have the ability to put a "same language" constraint on. By presuming the API will be consumed by something you have no control over makes you think about all the implications and types act as a guard of sorts.
[ Parent
| on HN ]
There are no comments on this comment yet.