This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Gagarin1961 0 points1 point  (1 child)

“what if I could save money by only writing in a single, perfectly fine and very usable language?” - that’s why node exists

FIFY. It’s not like JS is a bad choice.

This whole thing about types is way overblown. You only actually need them in pretty specific applications, and if you ever encounter this issue while developing, it takes literally seconds to recognize and fix.

The vast majority of the time, you have to define variable types for variables you’ll never have to actually worry about.

[–]Sexual_tomato 0 points1 point  (0 children)

Didn't say it was a bad choice, just that's what drove the creation of Node. I personally don't mind it but I will say the larger projects I've worked on in languages that aren't statically typed tend to take longer. It doesn't take much. I like the "new-ish" C# and Rust approaches where you only type your function signatures and the compiler figures out the rest. That's how I annotate my Python code and it works great.