decoration decoration
Stories

GROKLAW
When you want to know more...
decoration
For layout only
Home
Archives
Site Map
Search
About Groklaw
Awards
Legal Research
Timelines
ApplevSamsung
ApplevSamsung p.2
ArchiveExplorer
Autozone
Bilski
Cases
Cast: Lawyers
Comes v. MS
Contracts/Documents
Courts
DRM
Gordon v MS
GPL
Grokdoc
HTML How To
IPI v RH
IV v. Google
Legal Docs
Lodsys
MS Litigations
MSvB&N
News Picks
Novell v. MS
Novell-MS Deal
ODF/OOXML
OOXML Appeals
OraclevGoogle
Patents
ProjectMonterey
Psystar
Quote Database
Red Hat v SCO
Salus Book
SCEA v Hotz
SCO Appeals
SCO Bankruptcy
SCO Financials
SCO Overview
SCO v IBM
SCO v Novell
SCO:Soup2Nuts
SCOsource
Sean Daly
Software Patents
Switch to Linux
Transcripts
Unix Books

Gear

Groklaw Gear

Click here to send an email to the editor of this weblog.


You won't find me on Facebook


Donate

Donate Paypal


No Legal Advice

The information on Groklaw is not intended to constitute legal advice. While Mark is a lawyer and he has asked other lawyers and law students to contribute articles, all of these articles are offered to help educate, not to provide specific legal advice. They are not your lawyers.

Here's Groklaw's comments policy.


What's New

STORIES
No new stories

COMMENTS last 48 hrs
No new comments


Sponsors

Hosting:
hosted by ibiblio

On servers donated to ibiblio by AMD.

Webmaster
Not blueprints | 503 comments | Create New Account
Comments belong to whoever posts them. Please notify us of inappropriate comments.
Not blueprints
Authored by: Anonymous on Sunday, April 22 2012 @ 04:00 PM EDT
What he never says is that nothing in the range from early API sketches to the final Java API Specification is a blueprint of what to make.

My apologies for making free with selections of your quote, but I think these portions keep getting missed.

The API isn't a blueprint; it doesn't tell you how to build what's behind it - it's exactly the opposite! You have an API so you don't need to know the code under it!

Say for example there is an API for the Queen Mary II. One of the methods in this API is for current displacement:

public float currentDisplacement(){
    code;
}

Now, it's possible that this code reads pressure sensors on the bottom of the hull to calculate depth, and then converts through a numeric integration to figure out volume of water displaced to get the hull that far down in the water. Maybe there's a laser on the bridge wing which determines the distance to the water line. Maybe the function totals all the changes in inventory and manifests - cargo, fuel, passengers, supplies - and comes up with a displacement that way. Or perhaps the mass of the vessel is inferred from the engine force applied compared to the acceleration observed.

The point is - the API user doesn't know, and the API specification doesn't (necessarily) say how it's done.

There may well be a hint ("Relies on ship motion! Unreliable while docked!" or "Only run after shipManifest.update() has completed") but "hint" and "blueprint" aren't the same thing.

[ Reply to This | Parent | # ]

Groklaw © Copyright 2003-2013 Pamela Jones.
All trademarks and copyrights on this page are owned by their respective owners.
Comments are owned by the individual posters.

PJ's articles are licensed under a Creative Commons License. ( Details )