Click here to start
Table of contents
PowerPoint Presentation
“API usability is the intersection of user-centered design and excellent coding practices”
Programmers Are People Too
User Interface Design is a Science
Fundamental Principles
Libraries vs. Applications
Remember the People
Focus on the User
What to put in an API
Dependencies
Data Encapsulation
Constraints
Error Handling
Naming Conventions
Avoid Complexity
Inheritance
Plays well with others (Java):
Plays well with others (.NET):
Testability
Documentation
Conformance Testing
Maintenance
The Last Concern (Performance)
Case Study: JMidi vs. JFugue
JMidi: Play Middle-C
JFugue: Play Middle C
Lessons Learned
Case Study: Java Message Service
Continued
Finally
What should this look like?
Case Study: BoxLayout vs. GridBagLayout
Gridbag Calculator
BoxLayout Calculator
Slide 35
Further Reading
Author:
Elliotte Rusty Harold
Homepage:
http://www.cafeaulait.org/