Completed
And why should I care?
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Let's Make a Contract - The Art of Designing a Java API
Automatically move to the next video in the Classroom when playback concludes
- 1 Red Hat
- 2 What is an API? ?
- 3 And why should I care?
- 4 Understandable Basic Principles
- 5 If in doubt, leave it out
- 6 Write meaningful Javadocs
- 7 Convenience methods
- 8 Promote fluent API
- 9 Use the weakest possible type also for returned value
- 10 Support lambdas
- 11 Avoid checked exceptions
- 12 Stay in control (loan pattern)
- 13 Break apart large interfaces into smaller versions
- 14 Be defensive with your data
- 15 Prefer enums to boolean parameters
- 16 Use meaningful return types
- 17 API design is an iterative process