Hacker News new | ask | show | jobs
by LelouBil 1400 days ago
A lot of times making the user's life easier is about having a single correct way to do something.
1 comments

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.