News for hackers. Stuff that matters.
Re:Playwright for .NET is now stable by GordonS on Thursday June 10, 2021 @11:20AM (#27461737)
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.

Re:Playwright for .NET is now stable by a1sabau on Thursday June 10, 2021 @11:56AM (#27462173)
Typescript 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.
Re:Playwright for .NET is now stable by ithrow on Thursday June 10, 2021 @12:14PM (#27462378)
Well, 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.

Re:Playwright for .NET is now stable by GordonS on Thursday June 10, 2021 @01:42PM (#27463355)
For 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.

Re:Playwright for .NET is now stable by AlfeG on Thursday June 10, 2021 @12:57PM (#27462871)
So there is some people that move backend apps from C# to Typescript? really?