26 ms·
It's "key/value store", FYI
by VerifiedReports 10mo ago
It's "key/value store", FYI
- abustamam 10mo agoWikipedia seems to find "key-value store" an appropriate term. https://en.wikipedia.org/wiki/Key%E2%80%93value_database https://en.wikipedia.org/wiki/Key%E2%80%93value_database
- VerifiedReports 10mo agoSee above.
- abustamam 10mo agoStill not sure what point you're trying to make. You attempted to correct GP's usage of "key-value store" and I merely pointed out that it is the widely accepted term for what is being discussed. Whether or not it's semantically "correct" because of usage of hyphen vs slash is irrelevant to that point.
- kqr 10mo agoIt's not a store of "keys or values", no. It's a store of key-value pairs.
- VerifiedReports 10mo agoA key-value store would be a store of one thing: key values. A hyphen combines two words to make an adjective, which describes the word that follows: A used-car lot A value-added tax A key-based access system When you have two exclusive options, two sides to a situation, or separate things; you separate them with a slash: An on/off switch A win/win situation A master/slave arrangement Therefore a key-value store and a key/value store are quite different.
- kqr 10mo agoAll of your slash examples represent either–or situations. A swich turns it on or off, the situation is a win in the first outcome or a win in the second outcome, etc. It's true that key–value store shouldn't be written with a hyphen. It should be written with an en dash, which is used "to contrast values or illustrate a relationship between two things [... e.g.] Mother–daughter relationship" https://en.wikipedia.org/wiki/Dash#En_dash https://en.wikipedia.org/wiki/Dash#En_dash I just didn't want to bother with typography at that level of pedanticism.
- VerifiedReports 10mo agoNo, they don't. A master/slave configuration (of hard drives, for example) involves two things. I specifically included it to head off the exact objection you're raising. "...the slash is now used to represent division and fractions, as a date separator, in between multiple alternative or related terms" -Wikipedia And what is a key/value store? A store of related terms. And if you had a system that only allowed a finite collection of key values, where might you put them? A key-value store.
- kqr 10mo agoThe hard drives are either master or slave. A hard drive is not a master-and-slave.
- VerifiedReports 10mo agoExactly. And an entry in a key/value store is either a key or a value. Not both.
- kqr 10mo agoNo, an entry is a key-and-value pair. Are you deriously suggesting it is possible to add only keys without corresponding values, or vice versa?
- DonHopkins 10mo agoWhich is infinite of value is zero.