7
ars1
4y

Been using nodejs for a rest API. It may be the old fart in me, but I'm regretting using it instead of a normal static typed language. I hope something changes my mind soon, or I'll go through a case of sunken cost fallacy.

Comments
  • 4
    You could use typescript with it. But yeah, overall the node ecosystem isn't amazing if you come from more robust ecosystems.
  • 2
    Node.js alone is all good for prototyping, but for robustness you'll need more tooling, unfortunately.
    *bird chirps about Deno* Oh, right, there it is, better noDe!
  • 2
    I'm using typescript but it still seems to be lacking. I guess it feels... brittle? Like I need a hundred packages to make it so a string is a string, and stuff isn't a big security hole. Again I'm very new to it, I know basically nothing yet. But that's how it feels so far. On the other hand, I get the impression that it'll turn out ok anyway. Can't wait to start writing my tests.
Add Comment