I finished the book Framework Design Guidelines today. I reference it frequently, but I finally read it cover-to-cover.
Some of the best advice is in Appendix C. Krzysztof Cwalina wrote: “APIs that were designed by writing code samples before actually designing the API are generally successful.”
Even if you don’t write tests before writing code, consider writing an example of how to use the public interface. This can help you see it from the consumer’s point of view. Unwieldy designs quickly become apparent.
No Comments/Pingbacks for this post yet...
Development Central is the blog of Bill Sorensen, a professional software developer. Much of this will relate to C#, .NET, and OOP in general.
Disclaimer
These postings are provided "AS IS" with no warranties and confer no rights.