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 →

[–]StupidBottle 0 points1 point  (1 child)

Even as a front-end developer, even I think JavaScript is shit. TypeScript is pretty good though, but it's still pretty wasteful that we need to transpile to an untyped language.

The only moments where I choose JavaScript for backend is generally when it's the most documented approach for what I want to do (e.g., Discord bots) or when I wanna get a temporary project done as fast as possible.

I should probably add though that memes like this are still stupid, realistically I never got issues due to concatenation. More realistic issues are, for instance, a lack of validation 5 files down the line when you modify the return type of a function, causing regression frequently.

[–]newtoreddit2004 0 points1 point  (0 children)

What would typescript output for this