TypeScript is Like C# – A Backend Guidetypescript-is-like-csharp.chrlschn.dev 19 pointsivm9 months ago4 commentsSaveHideCopy link On HNComments−pjmlp9moKind of, C# still doesn't do type unions, and doesn't do structured typing.−dyl0009moThis is essentially how we write our NestJS backend at work, nice guide.−esafak9moWe use TS because it transpiles to JS. Let's not get ahead of ourselves; there are richer options in the back :)−kgwxd9mo"If you already know TypeScript, then learning C# is easy!"
Comments
Kind of, C# still doesn't do type unions, and doesn't do structured typing.
This is essentially how we write our NestJS backend at work, nice guide.
We use TS because it transpiles to JS. Let's not get ahead of ourselves; there are richer options in the back :)
"If you already know TypeScript, then learning C# is easy!"