Re: New filesystem/directory API proposal

On Thu, 04 Feb 2010 19:24:13 +0100, Eric Uhrhane <ericu@google.com> wrote:

> I think you leave the realm of "corner cases" when you're talking
> about the behavior of the majority of systems on which the code can be
> expected to run.  And by adding these [fairly minor, IMO] restrictions
> on filenames, your app developers don't have to write
> platform-specific code at all--they just write to the web platform.

The downside to adding restrictions is that you also restrict where and  
how the Filesystem/directory API can or can't be used.  If your use-case  
is roughly allowing Flickr to crawl your photo directory and upload at  
will, you're not going to get into trouble.  If, on the other hand, your  
use-case is more complex (imagine something like Midnight/Norton/Total  
commander as a locally installed widget), this least-common-denominator  
approach is going to cause problems.

-- 
Arve Bersvendsen

Opera Software ASA, http://www.opera.com/

Received on Thursday, 4 February 2010 19:46:53 UTC