Y
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
dogweather
1399 days ago
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.
link