Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
_
How to Design a Good API and Why it Matters1
How to Design a GoodAPI and Why it Matters
Joshua Bloch
Principal Software Engineer 
 
_
How to Design a Good API and Why it Matters2
Why is API Design Important?
APIs can be among a company's greatest assets
 _ Customers invest heavily: buying, writing, learning _ Cost to stop using an API can be prohibitive _ Successful public APIs capture customers
Can also be among company's greatest liabilities
 _ Bad APIs result in unending stream of support calls
Public APIs are forever - one chance to get it right
 
_
How to Design a Good API and Why it Matters3
Why is API Design Important
to You
?
If you program, you are an API designer 
 _ Good code is modular–each module has an API
Useful modules tend to get reused
 _ Once module has users, can’t change API at will _ Good reusable modules are corporate assets
Thinking in terms of APIs improves code quality
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • Notes
    Load more