Let's Make a Contract - The Art of Designing a Java API

Let's Make a Contract - The Art of Designing a Java API

Devoxx via YouTube Direct link

And why should I care?

3 of 17

3 of 17

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. 1 Red Hat
  2. 2 What is an API? ?
  3. 3 And why should I care?
  4. 4 Understandable Basic Principles
  5. 5 If in doubt, leave it out
  6. 6 Write meaningful Javadocs
  7. 7 Convenience methods
  8. 8 Promote fluent API
  9. 9 Use the weakest possible type also for returned value
  10. 10 Support lambdas
  11. 11 Avoid checked exceptions
  12. 12 Stay in control (loan pattern)
  13. 13 Break apart large interfaces into smaller versions
  14. 14 Be defensive with your data
  15. 15 Prefer enums to boolean parameters
  16. 16 Use meaningful return types
  17. 17 API design is an iterative process

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.