5 ms·
Typescript is getting more and more popular. I wonder if there is leeway to have this introduced into browsers to be run directly. I can see Microsoft doing it
by dastx 6y ago
Typescript is getting more and more popular. I wonder if there is leeway to have this introduced into browsers to be run directly. I can see Microsoft doing it with edge, and possibly provide an upstream patch to chromium.
This might be unpopular opinion, but personally I'd love for JavaScript to be completely replaced with TS or something like it.
- darkhorse13 6y agoIf that is indeed the case, I could see myself using TypeScript for everything. I generally dislike front-end tooling and how complex everything is, with everything having a build process (and CLI for some reason). For this reason alone, I avoid TypeScript when I can.
- mssundaram 6y agoHas it been a while since you've done frontend development? For many use cases it "just works" now - webpack, the TS compiler, ESLint, React etc. is all well integrated
- darkhorse13 6y agoDefinitely has been at least a year and a half. The last "proper front-end" thing I tried was ReactNative, and found that quite horrifying. After that, all I have written is ES5 JS that supports every browser I can think of.
- skrebbel 6y agoEven just the ability to parse and run TS (without type necking it) would be spectacular. I hope you're right.
- MrPatan 6y agoAnd we've come full circle back to VBScript in the browser. Not to worry! Google won't let that happen. They'll push for Dart instead.