So this: { type: "hms", hour : 10, minute : 45, second : 16 }
is better than this:
["hms", 10, 25, 16 ]
In the JavaScript world we would call the map an object.
So this: { type: "hms", hour : 10, minute : 45, second : 16 }
is better than this:
Either go across the wire fine. The names are not just local names, they describe the meaning of the data.In the JavaScript world we would call the map an object.