Category vs Attribute - What's the difference?
category | attribute |
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.
A characteristic or quality of a thing.
(grammar) A word that qualifies a noun.
(computing) The applicable option selection; a variable or a value.
(logic) That which is predicated or affirmed of a subject; a predicate; an accident.
(computing, programming) A semantic item with which a method, etc. may be decorated.
To ascribe (something) (to) a given cause, reason etc.
* Archbishop Tillotson
* Shakespeare
* 2009 , (Diarmaid MacCulloch), A History of Christianity , Penguin 2010, p. 278:
To associate ownership or authorship of (something) (to) someone.
As nouns the difference between category and attribute
is that category is a group, often named or numbered, to which items are assigned based on similarity or defined criteria while attribute is a characteristic or quality of a thing.As a verb attribute is
to ascribe (something) {{term|to}} a given cause, reason etc.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
* *attribute
English
(wikipedia attribute)Noun
(en noun)- His finest attribute is his kindness.
- In the clause "My jacket is more expensive than yours", "My" is the attribute of "jacket".
- This packet has its coherency attribute set to zero.
- There are some more implementations which use C
- attribute s to define custom attributes specific to the AOP engine. Then the classes that need to be intercepted will be decorated with these custom attributes.
Synonyms
* See alsoDerived terms
() * attributeness * relational attributeVerb
(attribut)- We attribute nothing to God that hath any repugnancy or contradiction in it.
- The merit of service is seldom attributed to the true and exact performer.
- H?kim's atypical actions should not be attributed to Islam as much as to insanity, which eventually led him to proclaim himself as Allah, whereupon he was murdered by outraged fellow Muslims.
- This poem is attributed to Browning.