News for hackers. Stuff that matters.
Re:TIL: `satisfies` is my favorite TypeScript keyword by dzonga on Saturday November 22, 2025 @07:33PM (#46019627)
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.

Re:TIL: `satisfies` is my favorite TypeScript keyword by fenomas on Saturday November 22, 2025 @10:17PM (#46020444)
Uh, among several other issues with this, what use are JSDoc comments for typing, without typescript to check them?
Re:TIL: `satisfies` is my favorite TypeScript keyword by locknitpicker on Sunday November 23, 2025 @03:08AM (#46021676)
> 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?