-
Notifications
You must be signed in to change notification settings - Fork 3.2k
devmeta track_comments
KernelDeimos edited this page Feb 25, 2025
·
1 revision
Comments beginning with // track:. See
comment_prefixes.md
-
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 orcontinue -
track: 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. -
track: opposite condition of siblingA sibling class, function, method, or other construct of source code has a boolean expression which always evaluates to the opposite of the one below this track comment. -
track: null check before processingAn object could be undefined or null, additional processing occurs after a null check, and the unprocessed object is not relevant to the rest of the code. If the code for obtaining the object and processing it is moved to a function outside, then the null check should result in a early return of null; this code with the track comment may have additional logic for the null/undefined case. -
track: manual safe objectThis code manually creates a new "client-safe" version of some object that's in scope. This could be either to pass onto the browser or to pass to something like the notification service. -
track: common operations on multiple itemsA patterm which emerges when multiple variables have common operations done upon them in sequence. It may be applicable to write an iterator in the future, or something will come up that require these to be handled with a modular approach instead. -
track: checkpointA location where some statement about the state of the software must hold true.
This wiki is generated from the repository. Do not edit files the wiki.
You are reading documentation for Puter, an open-source high-level operating system.
Getting started with Puter on localhost is as simple as:
git clone https://github.com/HeyPuter/puter.git
npm install
npm run start- Index (README.md)
- api drivers
- Group Endpoints
- Notification Endpoints
- Share Endpoints
- Type-Tagged Objects
- Comment Prefixes
- contributors vscode
- Local Email Testing
- Puter Extensions
- Repository Structure and Tooling
- Configuring Domains for Self-Hosted Puter
- Configuring Puter
- First Run Issues
- self_hosters config_values
- self_hosters support
- Self-Hosting Puter
- Backend Style
- Puter Backend - Directory Structure
- Puter Backend Boot Sequence
- Puter Kernel Moduels and Services
- Batch and Symlinks
- Metered Services and Cost Management
- Protected Apps and Subdomains
- Service Scripts
- Index (README.md)
- Configuring AI Services
- PuterAI API Request Examples
- src backend src modules puterai config
####### For Contributors