News for hackers. Stuff that matters.
Re:TypeScript is terrible for library developers by LelouBil on Tuesday August 23, 2022 @03:47PM (#32570417)
A lot of times making the user's life easier is about having a single correct way to do something.
Re:TypeScript is terrible for library developers by dogweather on Wednesday August 24, 2022 @03:10AM (#32575854)
It's true. A type specification also has the role of documentation, quickly telling the user how to use the thing. A ridiculous typespec - to support an "easier" API - has the effect of making it impenetrable.