Ferreteria/v0.5/@cls/data/unit/calc/cObject: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
(Created page with "{{page/ferret/class}} {| style="border: solid 1px grey; background: #eef;" |- | {{l/ver/class|ns=data/unit/calc|cText}} | → | {{l/ver/class|ns=data/unit/calc|cObject}} | → | {{l/ver/class|ns=data/unit/calc|cTime}}<br> {{l/ver/class|ns=data/unit/calc|cStash}} |} * '''Source''': {{l/ferreteria/code|data/fields/unit/native/types.php}} * '''Purpose''': base class for Calc Units that represent data as an object")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
* '''Source''': {{l/ferreteria/code|data/fields/unit/native/types.php}}
* '''Source''': {{l/ferreteria/code|data/fields/unit/native/types.php}}
* '''Purpose''': base class for Calc Units that represent data as an object
* '''Purpose''': base class for Calc Units that represent data as an object
==Thinking==
This is descended from {{l/ver/class|ns=data/unit/calc|cText}} rather than {{l/ver/class|ns=data/unit/calc|caBase}} because objects are generally serialized to Storage as text. I'm not sure that's ''sufficient'' justification, but it'll do for now.

Latest revision as of 18:21, 20 March 2023

class ferret\data\unit\calc\cObject
cText cObject

cTime
cStash

Thinking

This is descended from cText rather than caBase because objects are generally serialized to Storage as text. I'm not sure that's sufficient justification, but it'll do for now.