Settings

Theme

Ask HN: Simplest word to describe key/value store?

1 points by pandatigox 4 years ago · 8 comments · 1 min read


I am currently developing an app that uses customised key-value stores, but am struggling to come up with a simple way to describe this concept.

In the app, users can add custom meta data to objects. For example, a 'restaurant' object can contain metadata with <Rating, Int>, <Website, URL>, <Menu, Photo> and so on. Other another example would be a 'walking goal' object with custom meta data of <Time Taken, Date> and <Steps, Int>

I'm thinking of words like 'properties' or 'attributes', but I think the word/concept can be simplified further.

Thanks in advance!

davismwfl 4 years ago

Building is easy, naming is hard. In this case though, you're overthinking it. Pick one and move forward. Attributes is super common to use in these scenarios. Properties is also common and wouldn't be out of place.

I like to always build a project dictionary early on, as it just is helpful for everyone coming along later, and also if concepts change over time the original intent is clear. So like in this case, I'd just pick "attributes" and then have a markdown file or wiki etc that has common terms, and attributes would be described with examples. A quick 1-2 sentence write up is way easier then trying to spend a lot of time picking the perfect word/phrase.

mtmail 4 years ago

In the OpenStreetMap data schema that's called 'tags'. Postgresql calls it 'hstore'. I've seen 'tuple' and 'set' used but overall it's easier for the reader to stick to key-value or name-value I think.

raxxorraxor 4 years ago

Some languages use "dictionary".

thesuperbigfrog 4 years ago

Details

bob1029 4 years ago

Dictionary

cyanydeez 4 years ago

Tags.

alpaca128 4 years ago

Named value?

orbz 4 years ago

Details?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection