22 ms·
Well, a pretty good reason is that C# is statically typed, which a lot of developers prefer. It's arguably a much more powerful language than JavaScript too. P
by GordonS 5y ago
Well, a pretty good reason is that C# is statically typed, which a lot of developers prefer. It's arguably a much more powerful language than JavaScript too.
Personally, I work with both C# and JavaScript, and I'd happily use the C# version of Playwright to write and run UI tests.
- a1sabau 5y agoTypescript adds static type definitions to javascript. Microsoft's own VSCode is written in typescript. Being able to gradually move from one to another as you augment your existing code with type definitions makes it easier to integrate typescript in existing projects.
- ithrow 5y agoWell, a pretty good reason is that C# is statically typed, which a lot of developers prefer. Don't know, everyday I see more and more C# devs preferring Typescript for new projects.
- AlfeG 5y agoSo there is some people that move backend apps from C# to Typescript? really?
- GordonS 5y agoFor the frontend of a SPA, sure, I prefer Typescript over JavaScript for that kind of thing. But for the backend (APIs, services, whatever), I'd personally still go with C# any day - it really is a wonderful language, and the available tooling is fantastic.