3 ms·
> boxes, pallets, containers and vessels Woo, that's a tough one. Even as a native speaker, I'd be hard-pressed to find one word in English that describes all
by lioeters 6y ago
> boxes, pallets, containers and vessels
Woo, that's a tough one. Even as a native speaker, I'd be hard-pressed to find one word in English that describes all these similar but different terms.
I looked up some of these in a dictionary for definitions and synonyms. OK, the word "holder" seems to be the most general term that includes all these types of objects.
So I'd name it "holder_events_table", with a column "holder_type" being box, pallet, etc.
This issue of finding precise naming is related to "ontologies", how to establish an organization of agreed-upon terms to classify objects in the world. I agree with you, it would be valuable if there was a community-developed reference where we could search for the most appropriate names of things.
- janee 6y agoyeah I ended up leaning towards something similar, but avoided the whole issue of naming the "thing" by instead naming it based on the class of events contained in the table...ended up calling it tracking_events, and making it reference the "thing" as trackable_type,trackable_id (ala polymorphic relation in Rails world). but yeah, naming things...wonder how much time I've spent pondering over names in my career (probably too much haha)