Wouldn't an object-based data model also be value-based because it still deals with the object's values and properties? And doesn't the value-based model still have objects- isn't that where the values are stored? They just seem the same to me...|||Objects are the same as HashSets. Instead of ...
int [] xyz = { 1,3, 5, 7, 9 , 11, 33, 44}
and xyz[ 5 ] will fetch the value 11
Object is
class XYZ {
var first = 1;
var second = 3;
var third = 5;
var fourth = 7.
...
the difference being random access, the value-based being structured. The Object-based allows for internal maintenance. The value-based will require some outside discussion or documentation to make sure the next user doesn't break the structure.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment