[whatwg/storage] Inconsistent relation between storage container terms and mapping (#100)

On the one hand,

> A storage shed **is** a map of storage keys to storage shelves. *(emphasis added)* [[1]](https://storage.spec.whatwg.org/#storage-sheds) 

but:

> A storage shelf exists for each storage key within a storage shed. It **holds** a bucket map, which is a map of strings to storage buckets. *(emphasis added)* [[2]](https://storage.spec.whatwg.org/#storage-shelves)  

and:

> A storage bucket is a place for storage endpoints to store data. A storage bucket **has** a bottle map of storage identifiers to storage bottles.*(emphasis added)* [[3]] (https://storage.spec.whatwg.org/#buckets)

Why is it that a storage shed "is" a map, while a storage shelf "holds" a map, and a storage bucket "has" a map? Storage shelves and storage buckets do not appear to have any other properties besides the map. So this seems inconsistent. Why do "bucket map" and "bottle map" exist as separate concepts at all?



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/storage/issues/100

Received on Sunday, 14 June 2020 20:49:22 UTC