| ▲ | dzonga 10 hours ago | |
typescript is largely a result of solving a non-existent problem. Yeah JS is finicky & has foot-guns, however they're ways around those foot guns that don't involve typescript. Rich Hickey in 10 Years of Clojure & Maybe Not then the Value of Values - lays this out - though not meant at typescript but static types in general. the thing most people don't have proper Javascript fundamentals. Function signatures: JSDoc works Most types - use Maps | Arrays if a value doesn't exist in a map we can ignore it. There's also the safe navigation operator. Instead of mutable objects - there's ways around this too. Negating types again. | ||
| ▲ | locknitpicker 3 hours ago | parent | next [-] | |
> typescript is largely a result of solving a non-existent problem. Claiming that lack of static type checking is a non-existent problem is quite a bold claim. Care to offer some details to substantiate your claim? | ||
| ▲ | fenomas 7 hours ago | parent | prev [-] | |
Uh, among several other issues with this, what use are JSDoc comments for typing, without typescript to check them? | ||