mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-28 00:26:18 -06:00
1.3 KiB
1.3 KiB
Track Comments
Comments beginning with // track:. See
comment_prefixes.md
Track Comment Registry
track: type check: A condition that's used to check the type of an imput.track: adaptA value can by adapted from another type at this line.track: bounds check: A condition that's used to check the bounds of an array or other list-like entity.track: rulesetA series of conditions that early-return orcontinuetrack: object description in commentA comment above the creation of some object which could potentially have adescriptionproperty. This is especially relevant if the object is stored in some kind of registry where multiple objects could be listed in the console.track: slice a prefixA common pattern where a prefix string is "sliced off" of another string to obtain a significant value, such as an indentifier.track: actor typeThe sub-type of an Actor object is checked.track: scoping iifeAn immediately-invoked function expression specifically used to reduce scope clutter.track: good candidate for sequenceSome code involves a series of similar steps, or there's a common behavior that should happen in between. The Sequence class is good for this so it might be a worthy migration.