Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I'm willing to bet money that MS is actually using Typescript for almost all their Javascript.


sort by: page size:

I would assume MS is largely using TypeScript.

It's worth noting that TypeScript is a Microsoft product. As TypeScript has become increasingly popular, I'd imagine that Microsoft has also paid increasing amounts of attention to the JavaScript ecosystem.

Well they mentioned VSCode which is Typescript, so my guess it's typescript. (MS also typically eat's their own dogfood)

It's kind of awesome how good TypeScript looks in all this. Testament to the compiler talent MS has on staff.

I actually think microsoft is very much behind non-.net technologies as well nowadays.

My experience with their TypeScript initiative has been really smooth, feels like they're trying to improve JS instead of inventing something new (by sticking as close as possible to the ES.next specs). The generated JS is very close to the original, both in size as readability.


I thought Microsoft was working on Typescript as an alternate to pure JavaScript. How does WinJS fit into that picture?

Microsoft isn't just using TypeScript, they created and maintain TypeScript.

It seems Microsoft has influenced JavaScript/ES v6 with their TypeScript intermediate language lead by Anders Hejlsberg. Given the vast TypeScript code based that MS wrote for SharePoint 365, Visual Studio Online/Code, etc. it seems more than logical. But, read on:

  BRENDAN [Eich (JavaScript creator)]: Again, TypeScript is 
  smart because it’s embracing and extending. Let’s hope 
  Microsoft doesn’t try to extinguish. That’s the third E.

  JAMISON:  [Laughs]

  BRENDAN:  I don’t think they will. I think they actually 
  bought into JavaScript at some level. And I’ve talked to 
  people like Anders Hejlsberg about this. 
But Brendan Eich answered to my thread by replying to a parent:

  ES6 and the Harmony agenda influenced TypeScript. Where 
  TS went its own way on things like open modules, MS has 
  promised to track the Ecma standard versions ASAP.
  In particular, TS classes were purely an extension to 
  ES6's design, while ES6 was not frozen. There was not 
  feedback the other way, at least not phrased in terms of 
  TS -- the MS folks on TC39 had to make more generalized 
  arguments for changing the draft ES6 spec. 
Maybe after more people know about Visual Studio Code some others share the "German angst" about their common business tactics a bit too. I would prefer if they don't turn JavaScript into C# Trojan horse style. Hopefully things have changed since Satya Nadella took over.

You can read the full thread there, it's just 3 days old: https://news.ycombinator.com/item?id=9442011


What is the trick that you're saying Microsoft is doing with TypeScript?

Also "TypeScript thing" is definitely downplaying where TS is as a language https://2020.stateofjs.com/en-US/technologies/javascript-fla...


I should have been a bit more specific, Microsoft could have used any language to build the TypeScript compiler.

They took however the best solution by bootstraping it in JavaScript and using node for the process.

Just correct me if I am wrong.


Not that I want to defend them, but Typescript is probably the best thing Microsoft ever created.

TypeScript is amazing though. I’d sell my soul to Microsoft for TypeScript lol.

Jokes aside, there are compile to JS languages that are really good and open source like ReScript.


TypeScript is a popular JavaScript superset created by Microsoft that brings a type system on top of all the flexibility and dynamic programming capabilities of JavaScript.

I feel New Microsoft is a lot.of about TypeScript/JavaScript. TypeScript development is dominated by Visual Studio Code.

There’s Javascript/Typescript.

Please don't bury this comment completely. I am going to be honest and tell you that I believe TypeScript is pure embrace, extend, extinguish from Microsoft. And I am amazed honestly that so many web developers are eating it up.

TypeScript is the least concerning one. If Microsoft somehow does something so outrageous that you can't stomach using TypeScript anymore, just compile it to JS permanently and call it a day.

At least to date, Microsoft stresses the "TypeScript is just JavaScript." New language features are added to ES6 and then wrapped with types in TypeScript.

I wonder if they're using TypeScript.
next

Legal | privacy