Category vs Namespace - What's the difference?
category | namespace |
A group, often named or numbered, to which items are assigned based on similarity or defined criteria.
*
(mathematics) A collection of objects, together with a transitively closed collection of composable arrows between them, such that every object has an identity arrow, and such that arrow composition is associative.
(computing) A conceptual space that groups classes, identifiers, etc. to avoid conflicts with items in unrelated code that have the same names.
(computing) To categorize by placing into a namespace.
* 2004 , Michael Kay, XSLT 2.0 Programmer's Reference?
* 2007 , Jonathan Snook, Aaron Gustafson, Stuart Langridge, Dan Webb, Accelerated DOM Scripting with Ajax, APIs, and Libraries?
* 2007 , Jon Arking, Professional Windows Live Programming?
As nouns the difference between category and namespace
is that category is a group, often named or numbered, to which items are assigned based on similarity or defined criteria while namespace is (computing) a conceptual space that groups classes, identifiers, etc to avoid conflicts with items in unrelated code that have the same names.As a verb namespace is
(computing) to categorize by placing into a namespace.category
English
(wikipedia category)Noun
(categories)- The traditional way of describing the similarities and differences between constituents is to say that they belong to categories'' of various types. Thus, words like ''boy'', ''girl'', ''man'', ''woman'', etc. are traditionally said to belong to the category''' of Nouns, whereas words like ''a'', ''the'', ''this'', and ''that'' are traditionally said to belong to the ' category of Determiners.
- This steep and dangerous climb belongs to the most difficult category .
- I wouldn't put this book in the same category as the author's first novel.
- One well-known category has sets as objects and functions as arrows.
- Just as a monoid consists of an underlying set with a binary operation "on top of it" which is closed, associative and with an identity, a category consists of an underlying digraph with an arrow composition operation "on top of it" which is transitively closed, associative, and with an identity at each object. In fact, a category's composition operation, when restricted to a single one of its objects, turns that object's set of arrows (which would all be loops) into a monoid.
Synonyms
* (group to which items are assigned) class, family, genus, group, kingdom, order, phylum, race, tribe, type * See alsoDerived terms
* category mistake * category theory * conceptual category * perceptual category * subcategory * supercategoryExternal links
* *namespace
English
Noun
(wikipedia namespace) (en noun)Verb
(en-verb)- Something I haven't captured in this schema is that the GEDCOM spec also says the structure is extensible; arbitrary namespaced elements may be inserted...
- Although the excessive namespacing might seem like a hassle, there's always a really quick way to create a shortcut.
- SOAP adheres to extensive namespacing and attribute specification tags.
