4 ms·
Where does TypeScript fit into this? It's a wildly successful language from Microsoft that's also interpreted but doesn't use the CLR. Disclaimer: I work at Mi
by cglong 4y ago
Where does TypeScript fit into this? It's a wildly successful language from Microsoft that's also interpreted but doesn't use the CLR.
Disclaimer: I work at Microsoft, but not in the Developer Division.
- zengid 4y agoGreat question because I think TypeScript is the future in terms of a web stack. With the 'metaframeworks' (not just the ones from Meta, winky face) all moving towards a Server Side Rendering paradigm, I feel like a full-stack TypeScript world just makes so much more sense in terms of developer productivity. I also use TypeScript every day, and I absolutely love it. I feel like the power and flexibility of it's type-system are incredible tools for an industry programmer. I think TypeScript is going to get more mileage for me personally and I'll reach for things like C# less and less, because it feels like it's not keeping up with where the web industry is going. (Who knows, maybe they will dust off ASP.NET MVC and ditch Razor pages for some kind of .tsx like experience. A dev can dream..)
- CharlieDigital 4y agoStart a petition for T#. Merge C# and TypeScript. I want my C# pattern matching in TypeScript and TypeScript's fluidity in C#. Simplified initialization in C# without new(). Unless otherwise specified, use a default generic Dictionary<T,U> and infer the types for map initialization like: var x = { ["a"] = 1 }; Instead of: var x = new Dictionary<string,int> {...}; Then automatic type mapping and conversion utilities to objects: record class Rec(string a, int val); var k = x as (Rec) (Yes, can already be done with implicit type conversion operators or writing utility classes, but making it more like TypeScript would just make it easier to adopt)