I'm majored in mathematics, but not philosophy. I have encountered this question many times for months, but it is seemingly not belongs to mathematics, so I come and ask here.
The question is, it appears to me that while talking on the attributes/properties for an object, the attributes are actually a function that takes the object as an argument, and return the quantity or quality of it.
For example, "The color of the apple is red."
The apple is the object,
color is one of attributes/properties, and be treated as a function(applying at that object), and then
red is the function value at that object. In a mathematical way, it can be written as
Color[the apple]=red. Other examples are:
So, do we do we usually treat one object's attributes/properties as function values? I haven't studied any philosophy books, and I'm curious about what did the philosophers discuss and understand on this topic, maybe it is belongs to metaphysics?