The article brings up interesting points, but reads like I'm blasting through a red bull ad. (Zing Zang Zoom!) API development is super important, and KIS principles should apply, but i felt this post was more marketing and less functional advice.
Secrets to Great API Design (2019)
21–24 of 24 posts
Re: Secrets to Great API Design (2019)
#22Earlier quoted context omitted.
maybe they are able to create good docs, and good guidelines, because they burned themselves in the past creating godawful ones?
I don't remember any bad MS docs and I've been using them on and off since the 1990.
EDIT: oh well too late to do that.
Re: Secrets to Great API Design (2019)
#23I also like "self-eating dogfood" in that the shortcuts are defined using existing "long-cuts" and the API user can study, learn from, and change and/or write their own shortcuts using the long-cuts.
C#'s optional-named-parameters (ONP) are ideal for such. I don't why Java and JavaScript don't implement ONP's. The alternatives, such as object literals and method overloading, are just too clunky. Once you tasted ONP's you don't wanna go back.
Re: Secrets to Great API Design (2019)
#24How to Design Better APIs | https://news.ycombinator.com/item?id=30647784