Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

TS is great for the front-end where JS is inevitable, but I find not a great choice for backend work.

Node runtime is overall more prone to security threats (prototype pollution attacks, rogue packages, etc.). See GitHub's 2020 State of the Octoverse report for details [0]. With the Node ecosytem, there is a very large dependency tree that creates a large surface area for security risks. Then you may be dependent on the community to find and and patch. With dotnet, at least Microsoft has professional, paid engineers maintaining a broad set of base class and first party libraries which provides a LOT more functionality out-of-the-box.

For some workloads, having the higher throughput of dotnet is also a boon.

[0] https://octoverse.github.com/2020/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: