Conventions/code/naming: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(Created page with "For now, this is just notes on conventions I want to use within the code. ==Values== * '''cell''' means a value-reference * '''status''' means a presence-info object ** pref...")
 
No edit summary
Line 2: Line 2:


==Values==
==Values==
* '''cell''' means a value-reference
* '''cell''' means a direct value-reference
* '''ref''' means a reference object (cReference)
* '''status''' means a presence-info object  
* '''status''' means a presence-info object  
** preferably descended from cThingHolder
** preferably descended from cThingHolder
* '''unit''' means something that knows its own name and has awareness of its container-object/structure
* '''unit''' means something that knows its own name and has awareness of its container-object/structure
** preferably a PortRow Unit object
** preferably a PortRow Unit object

Revision as of 15:27, 7 October 2021

For now, this is just notes on conventions I want to use within the code.

Values

  • cell means a direct value-reference
  • ref means a reference object (cReference)
  • status means a presence-info object
    • preferably descended from cThingHolder
  • unit means something that knows its own name and has awareness of its container-object/structure
    • preferably a PortRow Unit object