# How to design a good API and why it matters (2006)

**URL:** <https://forum.devtalk.com/t/how-to-design-a-good-api-and-why-it-matters-2006/76380>\
**Category:** In The News\
**Tags:** design, api\
**Created:** [3 October 2022 14:06 UTC](https://forum.devtalk.com/t/how-to-design-a-good-api-and-why-it-matters-2006/76380 "2022-10-03T14:06:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CommunityNews](https://forum.devtalk.com/user_avatar/forum.devtalk.com/communitynews/32/1113_2.png) [@CommunityNews](https://forum.devtalk.com/u/CommunityNews)\
**Post date:** [3 October 2022 14:06 UTC](https://forum.devtalk.com/t/how-to-design-a-good-api-and-why-it-matters-2006/76380/1 "2022-10-03T14:06:42Z")

</div>

> ## ABSTRACT
> 
> In lieu of a traditional , I’ve tried to distill the essence of the talk into a collection of maxims:
> 
> - **All programmers are API designers.** Good programs are modular, and intermodular boundaries define APIs. Good modules get reused.
> - **APIs can be among your greatest assets or liabilities.** Good APIs create long-term customers; bad ones create long-term support nightmares.
> - **Public APIs, like diamonds, are forever.** You have one chance to get it right so give it your best.
> - **APIs should be easy to use and hard to misuse.** It should be easy to do simple things; possible to do complex things; and impossible, or at least difficult, to do wrong things.
> - **APIs should be self-documenting:** It should rarely require documentation to read code written to a good API. In fact, it should rarely require documentation to write it…

Read in full here:

[https://dl.acm.org/doi/10.1145/1176617.1176622](https://dl.acm.org/doi/10.1145/1176617.1176622)

_This thread was posted by one of our members via one of our news source trackers._

---

<div class="post-metadata">

**Author:** ![apsori](https://forum.devtalk.com/user_avatar/forum.devtalk.com/apsori/32/6666_2.png) [@apsori](https://forum.devtalk.com/u/apsori)\
**Post date:** [7 October 2022 10:11 UTC](https://forum.devtalk.com/t/how-to-design-a-good-api-and-why-it-matters-2006/76380/3 "2022-10-07T10:11:24Z")

</div>

This is a very good and exhaustive list of principles to guide a junior programmer, such as myself. I only learned programming through self-study.
