3 ms·
"JavaScript will never have mandatory types" says Brendan Eich, who doesn't work for Microsoft last I checked, which I mean to say Microsoft is not the driving
by michaelwww 11y ago
"JavaScript will never have mandatory types" says Brendan Eich, who doesn't work for Microsoft last I checked, which I mean to say Microsoft is not the driving force behind ES6.
Source: https://channel9.msdn.com/Blogs/Charles/SPLASH-2011-Brendan-Eich-JavaScript-Today-and-Tomorrow https://channel9.msdn.com/Blogs/Charles/SPLASH-2011-Brendan-... [10:04]
- gsnedders 11y agoMandatory types is obvious—it needs to be compatible with existing JS code. Gradual typing is entirely plausible (and I think highly likely), and from there it's easy to add some static lint that ensures a codebase is statically typed.
- BrendanEich 11y agoAgreed. This is not "mandatory types", note well.