It is only today when I came across the lecture about the API design. Its accuracy and comprehensiveness reminded me about some projects I was involved in some time ago.
A bit of history
Challenges we needed to face.
- domain model simplification by
- identification and extraction of commonalities to facilitate model reuse
- unit test usage to prove simplicity of the application of the use cases
- achieving paradigm consistency to
- apply principle of least surprise
- require minimal effort from end-user to learn new ways of doing things
- making sure that end-user will be driven into pit of success by
- design guiding the desired functionality flows
- (re)use of exceptions to fail early
- integration with the development environment for intellisense, hints and help
Therefore many thanks to Krzysztof Cwalina who delivered this presentation, recorded here , about API design. The fact that he needed to consider extremely broad end-user base, support for multiple CLR languages and multiple consuming products, make the lecture comprehensive and extremely valuable. And it is worth watching this API related blog...
His book is definitely the next one the list of the items to read.
No comments:
Post a Comment