About to try TypeScript, what am I in for?
>>106556288JavaScript but worse
>>106556288JavaScript but better
>>106556288Javascript but the same
>>106556288JavaScript but python
>>106556288JavaScript but Types
>>106556288Javascript but compilation errors from Hell
>>106557923Better than [object undefined]
>>106556288You're about to experience a type system more powerful, expressive, encompassing and correct, than available in practically every truly statically typed language. The fact that it sits on top of JavaScript is nothing short of a cosmic joke. The forces-that-be of the universe having a profound sense of irony....That and you're going to be spending a lot of time cursing about it, because some things in how it works are incredibly obnoxious to grasp properly.
fuck typescript
>>106556288JavaScript but more typing
>>106556288It's good, fixes most of the major issues with Javascript
>>106556288Something fkn useless that lets you write perfectly working code that won't let you "compile" it to an optimized version unless you jump through it's stupid hoops.
>>106556288>what am I in for?Argument of type 'Function' is not assignable to parameter of type '(value: any, index: number, array: any[]) => unknown'.and other such nonsense
Argument of type 'Function' is not assignable to parameter of type '(value: any, index: number, array: any[]) => unknown'.
>>106556288If it's not something running in the browser use tsx or else you'll cry when trying to run your typescript code or just use bun or deno instead of node
JavaScript but reinvented by saars
>>106558059>You're about to experience a type system more powerful, expressive, encompassing and correct, than available in practically every truly statically typed languageNot true for Haskell or even Rust.
>>106559376>JavaScript but reinvented by saarsAnders is a Nord, afaik.
>>106559689I don't care, its a Microsoft product