3 ms·
TSC codebase is quite unlike regular TypeScript code you will see out there. So it is about specific way TSC is written in being the easiest to port to Go rathe
by neonsunset 2y ago
TSC codebase is quite unlike regular TypeScript code you will see out there. So it is about specific way TSC is written in being the easiest to port to Go rather than the TS language as a whole.
There's a screenshot comparing the two side-by-side, IIRC it was showcased on the video of the talk (if someone has a timestamp - please post).
- CharlieDigital 2y agoGot it; thanks for the tip!
- int_19h 2y agoThe TL;DR version is that they don't really use classes and inheritance (which is the part that would be hard to map to Go but easy to map to C#). It's all functions dealing with struct-like objects. The other part of it is that C# is very firmly in the nominal typing camp, while TS is entirely structurally typed. Go can do both.