← Back to context

Comment by raddan

1 day ago

I'm glad that TypeScript uses JSDoc and not the hideous XML format [1] that Microsoft's other languages use.

[1] https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...

I'm a big C# fan but XML docstrings definitely suck.

We also got stuck with XML-based project files somehow, despite .NET Core/.NET 5+ being a complete rewrite.

  • This is my biggest annoyance with c#. I've always wanted to try to add jsdoc or something in the compiler. Little more annoying than having to use > and < in a comment