HackerTube 中文?

How To Design A Good API and Why it Matters

Google TechTalksYouTube ↗

Further reading 2

Caption notes

Bloch recommends designing APIs around concrete uses, testing them with clients early and omitting doubtful features before compatibility makes removal difficult.

Original passages · 7
you should start before you've implemented the API
How To Design A Good API and Why it Matters · ▶ 15:03–15:13
not be able to take it out once you put it into an API.
How To Design A Good API and Why it Matters · ▶ 24:57–25:03
don't make the client do anything the module could do.
How To Design A Good API and Why it Matters · ▶ 45:24–45:30
programmatic access to all data that is also available in string form.
How To Design A Good API and Why it Matters · ▶ 51:49–52:01
feels like an immutable object, except that it has state inside it.
How To Design A Good API and Why it Matters · ▶ 41:10–41:16
APIs can be among a company's greatest assets
How To Design A Good API and Why it Matters · ▶ 2:05–2:10
When it doubt, leave it out.
How To Design A Good API and Why it Matters · ▶ 24:42–24:45

Hacker News comments

View original on HN ↗