# Amazingly bad APIs

Paul Buchheit argues Java's APIs are needlessly hostile even as the language displaces C++, sharpening a debate over why developers are drifting away.

Record as of 21 May 2007. Labels written by Codex, for review. JSON: <https://texxr.com/v3/article/1178155.json>

## Amazingly bad APIs

*as of 21 May 2007; judged by one reader, needs review*

**In one line:** The publisher’s headline and the coverage around it.

Paul Buchheit · [21 May 2007](/2007/05/21) · [Read original](http://paulbuchheit.blogspot.com/2007/05/amazingly-bad-apis.html)

I actually don't hate the [Java](/entity/java) language (at least it's killing off c++), but every time I use it I'm blown away by how hostile the APIs are.  —  For example, let's say that we want to scale an image file.  That's a fairly common thing to do, so it's probably only one line of code, right?

**Context**

This post lands mid-debate about whether [Java](/entity/java)'s era is ending. Business Week had already argued in December 2005 that [Java was losing ground among Web developers](/1176022) to newer languages, and Joel Spolsky's [JavaSchools essay](/1176199) that same month turned Java's teaching footprint into a fight over how programmers are trained.

Against that backdrop, Paul Buchheit narrows the critique from market share to craft: he concedes the language itself is acceptable — noting its displacement of C++ — but argues the standard APIs are hostile to everyday tasks like image scaling, making developer ergonomics rather than syntax the real liability.

*First-order effects*

- Developers evaluating Java now have an explicit ergonomic complaint to weigh against its C++-displacing momentum, sharpening the erosion in Web-developer adoption reported in 2005.
- Sun Microsystems' pitch for Java competes less on language features and more on whether its libraries impose friction on common tasks.

*Second-order effects*

- The raft of newer languages gaining ground since 2005 get a ready-made argument: win converts not by matching features but by offering cleaner interfaces for routine work.
- API design quality becomes a visible differentiator, pressuring every library maintainer whose interfaces developers touch daily.

*Third-order effects*

- If the pattern holds, language competition shifts structurally from runtime performance and syntax toward ecosystem ergonomics, where the quality of APIs — not the compiler — decides which platforms retain developers.

**The trend:** Programming-language competition is migrating from raw capability toward developer-facing ergonomics, with API design quality becoming the battleground where platforms win or lose mindshare.

Related: [Java](/entity/java) · [Java? It's So Nineties](/1176022) · [The Perils of JavaSchools](/1176199) · [Where the hell is the Container API?](/1181067)

**Entities**

- [Java](/entity/java)

**Relationships**

- [Java](/entity/java) controversy [APIs](/search?q=%40%22APIs%22) · confirmed · A developer publicly criticizes Java for having hostile and poorly designed APIs.
- [Java](/entity/java) competitor [C++](/entity/c++) · confirmed · The author notes that Java adoption is displacing and killing off C++ usage.

**Similar stories**

- [Amazingly bad APIs](https://texxr.com/1265646/developers-confront-terrible-apis) · Paul Buchheit, 21 May 2007 · [publisher](<https://paulbuchheit.blogspot.com/2007/05/amazingly-bad-apis.html>) · 90%
- [Phones, 'Pads and Platform Plethora Pain](https://texxr.com/1253385/platform-plethora-creates-development-headaches) · Louis Gray, 8 April 2010 · [publisher](<http://blog.louisgray.com/2010/04/phones-pads-and-platform-plethora-pain.html>) · 55%
- [The Long-Term Failure of Web APIs](https://texxr.com/1193176/web-apis-face-long-term-failure) · Nick Bradbury, 4 November 2011 · [publisher](<http://nick.typepad.com/blog/2011/11/the-long-term-failure-of-web-apis.html>) · 54%
- [Where the hell is the Container API?](https://texxr.com/1181067/developers-demand-container-api) · Russell Beattie's Weblog, 3 November 2007 · [publisher](<http://www.russellbeattie.com/blog/where-the-hell-is-the-container-api>) · 53%
- [Java?  It's So Nineties](https://texxr.com/1176022/java-loses-developer-momentum) · Business Week, 13 December 2005 · [publisher](<http://www.businessweek.com/technology/content/dec2005/tc20051213_042973.htm>) · 52%
- [The Perils of JavaSchools](https://texxr.com/1176199/javaschools-faces-programming-education-critique) · joelonsoftware.com, 29 December 2005 · [publisher](<http://www.joelonsoftware.com/articles/ThePerilsofJavaSchools.html>) · 52%
- [Doing It Wrong](https://texxr.com/1186743/enterprise-systems-miss-the-mark) · ongoing, 5 January 2010 · [publisher](<http://www.tbray.org/ongoing/When/201x/2010/01/02/Doing-It-Wrong>) · 51%
- [Android, Java, and the tech behind Oracle v. Google (FAQ)](https://texxr.com/1195413/android-java-tech-explained-oracle-v-google) · CNET, 21 April 2012 · [publisher](<http://news.cnet.com/8301-1001_3-57417144-92/android-java-and-the-tech-behind-oracle-v-google-faq/>) · 50%
- [If You Can Copyright an API, What Else Can You Copyright?](https://texxr.com/1254743/oracle-claims-copyright-over-apis) · Wired, 15 May 2012 · [publisher](<http://www.wired.com/wiredenterprise/2012/05/api-copyright/>) · 50%
- [Outrageous](https://texxr.com/1178042/microsoft-client-relationship-draws-outrage) · dive into mark, 15 May 2007 · [publisher](<http://diveintomark.org/archives/2007/05/15/outrageous>) · 49%
- [Java: A Gift to Exploit Pack Makers](https://texxr.com/1290829/java-fuels-exploit-pack-makers) · Krebs on Security, 12 October 2010 · [publisher](<http://krebsonsecurity.com/2010/10/java-a-gift-to-exploit-pack-makers/>) · 49%
- [The condescending UI](https://texxr.com/1193635/condescending-ui-frustrates-computer-users) · The Verge, 9 December 2011 · [publisher](<http://www.theverge.com/2011/12/9/2616204/the-condescending-ui>) · 49%
- [Why Google needs to fix Android's image problem](https://texxr.com/1194573/google-needs-to-fix-androids-image-problem) · GigaOM, 2 March 2012 · [publisher](<http://gigaom.com/mobile/why-google-needs-to-fix-androids-image-problem/>) · 49%
- [Oracle v Google: Why?](https://texxr.com/1188013/oracle-google-lawsuit-raises-android-questions) · tecosystems, 14 August 2010 · [publisher](<http://redmonk.com/sogrady/2010/08/14/oracle-v-google/>) · 49%
- [Google exec worries over ‘rudderless’ Java](https://texxr.com/1187486/google-exec-criticizes-rudderless-java) · PC World, 14 April 2010 · [publisher](<http://www.pcworld.idg.com.au/article/343012/google_exec_worries_over_rudderless_java/>) · 49%
- [The current state of Apple's developer documentation, in which many parts of the ecosystem are entirely undocumented, is shocking](https://texxr.com/947328/apple-developer-documentation-criticized-as-inadequate) · Chris Krycho, 30 October 2019 · [publisher](<https://v4.chriskrycho.com/2019/apple-your-developer-documentation-is-garbage.html>) · 49%
- [The Cloud OS](https://texxr.com/1189382/chromeos-shapes-cloud-operating-system) · Paul Buchheit, 18 December 2010 · [publisher](<http://paulbuchheit.blogspot.com/2010/12/cloud-os.html>) · 48%
- [The Cloud OS](https://texxr.com/1290987/chrome-os-becomes-cloud-operating-system) · Paul Buchheit, 18 December 2010 · [publisher](<https://paulbuchheit.blogspot.com/2010/12/cloud-os.html>) · 48%
- [An ex-Googler who wrote a searing critique decrying Google's lack of innovation lambasts Google's approach to deprecation of its Cloud APIs](https://texxr.com/956907/ex-googler-criticizes-google-cloud-api-deprecation) · Steve Yegge, 17 August 2020 · [publisher](<https://t.co/R9eLEOL7mi>) · 48%
- [So I finally tried Wave...](https://texxr.com/1253057/author-finally-tries-google-wave-experience) · Paul Buchheit, 28 November 2009 · [publisher](<https://paulbuchheit.blogspot.com/2009/11/so-i-finally-tried-wave.html>) · 48%

- **Judged:** Scribe wrote the corpus context.

## Sources

### The TEXXR article archive

*Section `articles`, as of 21 May 2007; judged by one reader, needs review*

The archive supplies the article and its links. Similar stories use the saved text vectors.

**Method**

- The archive holds the headline, publisher excerpt, coverage and discussion.
- Relationships use the article ID. Similar stories use the archive’s stored text vectors.

**Limits**

- Some articles have no Scribe context, recorded tags or relationships.
