You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jfoclpf (via GitHub)" <gi...@apache.org> on 2023/01/20 21:44:40 UTC

[GitHub] [cordova-plugin-file] jfoclpf commented on issue #555: Shortcut to read file

jfoclpf commented on issue #555:
URL: https://github.com/apache/cordova-plugin-file/issues/555#issuecomment-1398987899

   > Abstractions can be made to hide the meat of the filesystem API by creating utility classes/methods like your example, but I think that belongs in the community. If the plugin added those APIs, it will be very difficult to remove or potentially change in the future, should a new W3C spec be introduced.
   
   But don't you agree that these abstraction layers serve exactly to maintain the API stable over the time as W3C spec change, since the end user would be faced only with a `readFile(path)` function?
   
   Yes, it would demand more maintenance, and that would be a problem, I agree
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org