On Wed, Jan 7, 2009 at 12:46 PM, Kevin Burton <bur...@spinn3r.com> wrote:
> On Wed, Jan 7, 2009 at 9:25 AM, Benjamin Reed <br...@yahoo-inc.com> wrote:
>> This is the behavior we had when we first implemented the API, and in every
>> case where people used the information there was a bug. it is virtually
>> impossible to use correctly. In general I'm all for giving people rope, but
>> if it always results in death, you should stop handing it out.
> I think this is excessive rope...
> Most people want to read the data and having a race here is just asking for
> I'm not sure it is as much about excessive rope is it is about making it
> easy for users to stumble on the correct use case and reduce bugs.
> Ignorance is a wonderful gift you can give to your users :)
Perhaps a compromise would be augment the API, or your wrapper, such
that it provides a Future<byte> which has more well-known semantics