gr-cheat-sheets

GoodRelax Naming Cheat Sheet

Category PoS Word Nuance Usage Note
General adj sync Synchronous operation. syncCall Blocking execution.
General adj async Asynchronous operation. asyncOperation Non-blocking execution.
General adj online Connected to network. onlineUsers Active connection.
General adj offline Not connected. offlineMode No network connection.
General adj inactive Not currently active. inactiveUser Dormant state.
General adj invalid Does not meet criteria. invalidInput Failed validation.
General adj concurrent Simultaneous execution. concurrentTasks Multiple operations at once.
General adj parallel Concurrent execution paths. parallelProcessing Side-by-side execution.
General adj sequential One after another. sequentialExecution Ordered processing.
General adj realtime Immediate/Live updates. realtimeData No significant delay.
General adj hidden Not visible/accessible. hiddenField Intentionally concealed.
General adj critical Essential/High priority. criticalSection Requires special attention.
General adj fatal Unrecoverable error state. fatalError System cannot continue.
General adj ready Prepared for use. readyState Initialization complete.
General adj ok Acceptable/Successful. okStatus Positive confirmation.
General n request Service invocation. httpRequest Ask for service.
General n response Service reply. httpResponse Answer to request.
General n client Service consumer. httpClient Requests services.
General n host Server/Container. hostName Where service runs.
General n consumer Data processor. messageConsumer Receives and processes.
General n supplier Provides values. dataSupplier Source of data.
General n listener Event observer. eventListener Waits for notifications.
General n handler Processes events/requests. eventHandler Responds to occurrences.
General n callback Function executed later. callbackFunction Deferred execution.
General n event Occurrence notification. clickEvent Something that happened.
General n signal Notification mechanism. processSignal Inter-process communication.
General n message Communication unit. errorMessage Information package.
General n packet Network data unit. dataPacket Transmitted bundle.
General n payload Actual carried data. messagePayload Core content.
General n body Main content portion. requestBody Payload of message.
General n header Metadata section. httpHeader Descriptive information.
General n data Information payload. userData Raw information.
General n content Actual data/information. pageContent Substantive information.
General n context Execution environment. applicationContext Surrounding state/data.
General n model Data structure/representation. dataModel Domain representation.
General n entity Domain object. userEntity Business model object.
General n object Generic instance. dataObject General-purpose container.
General n view User interface representation. dataView Display layer.
General n list Ordered collection. itemList Sequential container.
General n stream Data flow. fileStream Continuous data sequence.
General n iterator Sequential accessor. listIterator Traverses collection.
General n generator Creates sequences. idGenerator Produces values on demand.
General n cache Fast-access storage. cacheManager Performance optimization.
General n buffer Temporary storage area. dataBuffer Intermediate holding space.
General n pool Reusable resource set. connectionPool Shared resources.
General n session Stateful interaction. userSession Conversation context.
General n account User account data. userAccount Identity container.
General n preferences User settings. userPreferences Customization options.
General n settings Configuration values. appSettings Adjustable parameters.
General n action Executable operation. actionHandler Command to perform.
General n transaction Atomic operation unit. databaseTransaction All-or-nothing operation.
General n savepoint Checkpoint for rollback. transactionSavepoint Partial commit point.
General n alert Notification message. alertDialog Warning or info to user.
General n failure Unsuccessful result. operationFailure Did not succeed.
General n success Successful result. operationSuccess Completed as intended.
General n resource System asset. fileResource Available item.
General n mutex Mutual exclusion lock. resourceMutex Prevents concurrent access.
General n semaphore Counting synchronization. resourceSemaphore Controls access count.
General n uri Resource identifier. resourceUri Universal identifier.
General n url Web address. pageUrl Web location.
General n endpoint API access point. apiEndpoint Specific URL/address.
General n port Communication endpoint. serverPort Network address.
General n route Path/Mapping. apiRoute URL to handler mapping.
General n utility Helper functions. stringUtility Reusable tools.
General n api Application interface. apiClient, externalApi External communication interface.
General n record Data entry. databaseRecord Single data item.
General v accept Agree to receive. acceptConnection() Approve incoming.
General v reject Refuse/Fail. reject(request) Decline.
General v allow Grant permission. allowAccess() Enable action.
General v deny Refuse permission. denyAccess() Block action.
General v open Make accessible. open(file) Begin access.
General v close Terminate/End. closeConnection() Shut down resource.
General v lock Acquire exclusive access. lock(resource) Prevent concurrent use.
General v unlock Release lock. unlock(resource) Allow access.
General v bind Associate/Connect. bindEvent() Link together.
General v unbind Remove association. unbind(event) Disconnect.
General v attach Connect to. attachListener() Associate with.
General v detach Disconnect from. detachListener() Remove association.
General v mount Attach/Make available. mount(component) Install into system.
General v unmount Remove/Detach. unmount(component) Uninstall from system.
General v subscribe Register for notifications. subscribe(topic) Listen for events.
General v unsubscribe Cancel subscription. unsubscribe(topic) Stop listening.
General v join Combine/Wait for. join(threads) Merge or synchronize.
General v merge Combine together. merge(branches) Unite.
General v split Divide into parts. split(string, delimiter) Separate.
General v enqueue Add to queue. enqueue(item) Add to end.
General v dequeue Remove from queue. dequeue() Take from front.
General v pop Remove from stack. pop() Take from top.
General v peek Look without removing. peek() Non-destructive view.
General v serialize Convert to serial form. serialize(object) Make transmittable.
General v deserialize Convert from serial form. deserialize(bytes) Reconstruct object.
General v encode Convert to encoded form. encode(data) Transform format.
General v decode Convert from encoded. decode(data) Reverse encoding.
General v deploy Release to environment. deploy() Make available.
General v apply Execute/Use. applyChanges() Put into effect.
General v commit Finalize changes. commitTransaction() Make permanent.
General v rollback Undo changes. rollback() Revert to previous.
General v authenticate Verify identity. authenticateUser() Confirm who they are.
General v authorize Grant access rights. authorizeAction() Confirm what they can do.
General v pause Temporarily stop. pause() Suspend execution.
General v resume Continue after pause. resume() Restart execution.
General v await Wait for completion. await result Pause until ready.
General v break Exit loop/block. break Control flow exit.
General v continue Skip to next iteration. continue Loop control.
General v yield Produce value/Pause. yield value Return value or control.
General v dispatch Route/Send. dispatchEvent() Forward to handler.
General v broadcast Send to all. broadcastMessage() One-to-many transmission.
General v multicast Send to group. multicast(message) One-to-many targeted.
General v unicast Send to one recipient. unicast(message) One-to-one transmission.
General v notify Inform/Alert. notify(observer) Send notification.
General v publish Make available. publish(event) Broadcast to subscribers.
General v log Record event/data. log(message) Write to log.
General v info Log information. info(message) Informational logging.
General v warn Log warning. warn(message) Alert-level logging.
General v trace Detailed logging. trace(message) Debug-level logging.
General v debug Diagnose issues. debugMode() Development inspection.
General v monitor Observe/Track. monitor(metric) Watch continuously.
General v parse Analyze structure. parse(json) Convert to structure.
General v pass Transfer/Allow through. pass(value) Hand over.
General v transform Convert/Change form. transform(data) Modify structure.
General v fold Reduce/Accumulate. fold(fn, initial) Combine elements.
General v gain Acquire/Increase. gainAccess() Obtain.
General v lose Forfeit/Decrease. loseConnection() No longer have.
General v maximize Increase to maximum. maximize() Make largest.
General v minimize Reduce to minimum. minimize() Make smallest.
General v release Free resource. release(lock) Relinquish.
General v trigger Cause to execute. trigger(event) Initiate action.
General v invalidate Mark as invalid. invalidateCache() Make unusable.
Status adj active Currently running/engaged. isActive Opposite of inactive.
Status adj enabled Interactable/usable. isEnabled Intentionally turned on.
Status adj disabled Not interactable/usable. isDisabled Intentionally turned off.
Status adj visible Shown on screen. isVisible Can be seen.
Status adj available Ready and accessible. isAvailable Can be used now.
Status adj valid Meets all criteria. isValid Passed validation.
Status adj empty Contains nothing. isEmpty No elements present. ( hasNoItems )
Status adj completed Finished/Done. isCompleted Task finished.
Status adj pending Awaiting completion. isPending In progress.
Status v is Boolean state check. isValid, isReady Standard boolean accessor.
Status v has Ownership/containment check. hasRole(‘admin’) Checks possession.
Validation v check Quick/Simple inspection. checkPermission() Often returns boolean.
Validation v validate Check rules deeply. validateInput() Returns errors or throws.
Validation v verify Confirm truth/auth. verifySignature() Security context often.
Validation v assert Hard check (crash if false). assert(x > 0) Testing/Internal logic.
Validation v ensure Make sure it exists/is true. ensureDir() Creates if missing.
Comparison v compare Compare two values. compare(a, b)” Returns -1, 0, 1 typically.
Comparison v equals Check equality. equals(other) Deep or shallow comparison.
Comparison v match Pattern/Regex matching. match(pattern) Returns match result.
Data Access v get Lightweight, memory access. getName(), getIndex() Don’t use for expensive ops (see fetch).
Data Access v set Simple assignment. setName(‘Alice’)  
Data Access v read Low-level IO/Stream. readBytes()  
Data Access v write Low-level IO/Stream. writeBuffer()  
Data Access v load Read into memory/prepare. loadConfig()  
Data Access v save Persist to storage. saveChanges()  
Data Access v find Search with criteria (may be null). findUser(‘id’) Returns Optional/Null if missing.
Data Access v search Complex query/scan. searchProducts(query)  
Data Access v query Complex data retrieval. queryDatabase(sql) Database or complex search.
Data Access v fetch Remote/Expensive retrieval. fetchUserData() Implies async/wait often.
Collection v add Append to list/set. addTag(‘urgent’) Opposite of remove.
Collection v remove Take out from list/set. removeItem(item) Opposite of add.
Collection v insert Put at specific index. insertAt(0, item)  
Collection v clear Remove all items. clearCache() Empties collection.
Collection v push Add to end (stack). push(item) Stack operation.
Collection v pop Remove and return last. pop() Stack operation.
Collection v shift Remove and return first. shift() Queue operation.
Collection v unshift Add to beginning. unshift(item) Queue operation.
Collection v append Add to end (ordered). appendLine()  
Collection v concat Combine collections. concat(arr1, arr2) Returns new collection.
Collection v slice Extract portion. slice(start, end) Non-destructive.
Collection v splice Insert/Remove at index. splice(index, count, items) Destructive.
Collection v count Get total number. countItems()  
String v uppercase Convert to uppercase. uppercase(str)  
String v lowercase Convert to lowercase. lowercase(str)  
String v capitalize Uppercase first letter. capitalize(str)  
String v trim Remove whitespace. trim(str) Leading/trailing.
String v pad Add padding characters. padStart(str, 10)  
String v concat Join strings. concat(str1, str2)  
String v join Combine with delimiter. join(arr, ‘,’)  
String v format Apply formatting. format(template, args) Template substitution.
String v substring Extract part of string. substring(start, end)  
String v replace Substitute text. replace(old, new)  
Conversion v convert Transform data type. convertToInt(str)  
Conversion v cast Type conversion. cast(value) Type assertion.
Conversion v parse String to structured data. parse(jsonString) Already in General, but contextual here.
Conversion v stringify Object to string. stringify(obj) JSON serialization often.
Conversion v toString Convert to string. toString(obj)  
Conversion v toArray Convert to array. toArray(iterable)  
Conversion v toBoolean Convert to boolean. toBoolean(value)  
Conversion v toNumber Convert to number. toNumber(str)  
Lifecycle v create Make new instance/record. createUser()  
Lifecycle v delete Remove record/file. deleteFile() Destructive.
Lifecycle v init Initialize (setup). initDatabase() Often called once.
Lifecycle v initialize Full form of init. initialize() More formal than init.
Lifecycle v finalize Cleanup before destruction. finalize() GC related term.
Lifecycle v start Begin process/service. startServer() Stateful.
Lifecycle v stop Halt process. stopServer() Stateful.
Lifecycle v run Execute main logic. app.run()  
Lifecycle v update Modify existing data. updateProfile()  
Lifecycle v teardown Cleanup after use. teardown() Testing/Resource cleanup.
Logic v calc Calculate value. calcTotal() Short for calculate.
Logic v calculate Compute value. calculateTotal() Full form of calc.
Logic v compute Complex calculation. computeHash() Implies CPU cost.
Logic v execute Run command/action. executeCommand() Formal version of run.
Logic v process Handle data series/workflow. processPayment()  
Logic v filter Select items by criteria. filter(predicate) Returns subset.
Logic v map Transform each item. map(fn) Returns new collection.
Logic v reduce Aggregate to single value. reduce(fn, initial) Fold operation.
Logic v sort Order items. sort(comparator)  
Pattern n adapter Interface converter. LegacyApiAdapter Structural Pattern.
Pattern n bridge Decouples abstraction/impl. ViewBridge Structural Pattern.
Pattern n builder Step-by-step construction. QueryBuilder Complex object creation.
Pattern n chain Passes request along chain. AuthChain Chain of Responsibility.
Pattern n command Action as an object. SaveCommand Undo/Redo support.
Pattern n composite Tree structure of objects. UIComponent Treat single/group same.
Pattern n decorator Adds behavior dynamically. StreamDecorator Wrapper.
Pattern n facade Simple interface to complex sys. ApiFacade Hides complexity.
Pattern n factory Creates objects. UserFactory Creational Pattern.
Pattern n flyweight Shares common state. FontFlyweight Memory optimization.
Pattern n mediator Centralizes communication. ChatMediator Reduces coupling.
Pattern n memento Captures state for restore. GameMemento Snapshot.
Pattern n observer Notified on changes. EventObserver Pub/Sub.
Pattern n prototype Clones instances. EnemyPrototype Copying.
Pattern n proxy Placeholder/Access control. ImageProxy Lazy loading/Auth.
Pattern n singleton One instance only. AppConfig Use sparingly.
Pattern n state State-dependent behavior. ConnectionState Finite State Machine.
Pattern n strategy Interchangeable algorithm. SortStrategy Behavioral Pattern.
Pattern n template Skeleton of algorithm. ReportTemplate Subclasses fill steps.
Pattern n visitor Ops on object structure. NodeVisitor Separates algo from structure.
Role n user System user. currentUser Person using system.
Role n admin Administrator role. adminUser Highest privilege level.
Role n member Group participant. teamMember Belongs to collection.
Role n manager Controls logic/resources. SessionManager Warning: Can be vague.
Role n controller Orchestrates application flow. AuthController MVC Controller.
Role n service Business logic holder. UserService Domain logic.
Role n repository Data access abstraction. UserRepository Hides DB details.
Role n provider Supplies data/dependencies. AuthProvider DI pattern.
Role n helper Auxiliary functions. ViewHelper Warning: often code smell.
Role n util Static utility functions. DateUtil Keep pure functions.
Role n wrapper Encloses another object. ApiWrapper Simplification.
Role n middleware Processing pipeline component. AuthMiddleware Interceptor.
Role n registry Global lookup service. ServiceRegistry Central list.
Network v connect Establish link. connectToDB()  
Network v disconnect Break link. disconnect()  
Network v send Transmit data. sendEmail()  
Network v receive Get data from stream. receiveMessage()  
Network v ack Positive receipt confirmation. ackMessage(id) Acknowledge successful receive.
Network v nack Negative receipt confirmation. nackMessage(id) Request resend / indicate failure.
Network v upload Send to remote. uploadFile()  
Network v download Retrieve from remote. downloadFile()  
Network v push Send immediate notification. pushNotification() Avoid ambiguity with Array.push.
Network v ping Test connectivity. ping(host)  
Network v poll Check repeatedly. pollStatus()  
File n file File system object. fileHandle Individual file.
File n directory Folder containing files. directoryPath Container for files.
File n path Location in file system. filePath Address of file/directory.
File v exists Check if file/directory exists. exists(path) Returns boolean.
File v mkdir Create new directory. mkdir(path) Make directory.
File v rmdir Remove empty directory. rmdir(path) Delete directory.
File v copy Duplicate file to new location. copyFile(src, dest) Non-destructive duplication.
File v move Relocate file to new location. moveFile(src, dest) Changes location.
File v rename Change file/directory name. rename(oldName, newName) Update identifier.
File v unlink Delete file from system. unlink(path) Low-level file delete.
File v watch Monitor for file changes. watch(path, callback) File system events.
Database n table Database table. tableName Collection of rows.
Database n column Database table column. columnName Vertical data field.
Database n row Database table row. rowData Horizontal data record.
Database n cell Intersection of row and column. cellValue Smallest data unit.
Database n field Synonym of column. fieldName Common in ORMs and forms.
Database n record Synonym of row. recordData Logical data unit in table.
Database n tuple Formal term for a row in relational model. tupleData Theoretical term equivalent to row.
Database n value Single data item at row–column intersection. columnValue Also called attribute value in theory.
Database n attribute Formal term for column property. attributeName Used in ER modeling.
Database n entity Logical object represented by a table. entityModel Used in ER diagrams.
Database n relationship Table-to-table association. relationshipMap Defines how tables connect.
Database n Primary Primary key identifier. primaryKey Uniquely identifies a row.
Database n Foreign Foreign key reference. foreignKey References another table’s primary key.
Database n Candidate Possible key choice. candidateKey Can uniquely identify a row.
Database n Alternate Non-selected candidate key. alternateKey Candidate not chosen as primary.
Database n Composite Multi-column key. compositeKey Combination of columns as key.
Database n Unique Uniqueness constraint key. uniqueKey Prevents duplicate values.
Database n Surrogate Artificial generated key. surrogateKey Typically auto-increment ID.
Database n Natural Real-world meaningful key. naturalKey Derived from actual data.
Database n schema Database structure definition. schemaDefinition Tables and relationships.
Database n migration Schema change script. migrationFile Version control for schema.
Database n index Database index structure. indexName Improves query performance.
Database v migrate Apply schema changes. migrate() Update database structure.
Database v rollback Revert transaction/migration. rollback() Undo changes.
Database v seed Populate with initial data. seed() Insert default/test data.
Database v truncate Remove all table rows. truncate(table) Keeps table structure.
Testing n suite Collection of related tests. testSuite Grouped test cases.
Testing n fixture Predefined test data/setup. userFixture Consistent test state.
Testing n mock Fake implementation object. serviceMock Replaces real dependency.
Testing n stub Predefined response object. apiStub Returns canned responses.
Testing n spy Function call tracker. functionSpy Records invocations.
Testing v describe Group/organize test cases. describe(‘User’, …) BDD-style grouping.
Testing v it Define single test case. it(‘should work’, …) BDD-style test.
Testing v test Define single test case. test(‘works’, …) Alternative to ‘it’.
Testing v expect Make assertion. expect(value).toBe(…) Assertion function.
Async n promise Asynchronous operation result. userPromise Future value container.
Async v resolve Fulfill promise with value. resolve(value) Mark promise as successful.
Async v reject Fail promise with error. reject(error) Mark promise as failed.
Async v await Wait for async completion. await promise Pause execution until resolved.
Async v then Chain async operations. then(callback) Next step after resolution.
Async v catch Handle async error. catch(err) Error handler in promise chain.
Async v finally Execute after async completion. finally() Always runs after promise.
Async v race Return first completed promise. race(promises) First to settle wins.
Security v login Authenticate and create session. login(credentials) Begin authenticated session.
Security v logout End authenticated session. logout() Terminate session.
Security v register Create new user account. register(userInfo) Sign up.
Security v encrypt Secure data with cipher. encrypt(data, key) Protect confidentiality.
Security v decrypt Reverse encryption process. decrypt(data, key) Restore original data.
Security v hash One-way encoding. hash(password) Cannot be reversed.
Security v sanitize Clean untrusted input. sanitize(userInput) Prevent injection attacks.
UI adj enabled Can be interacted with. isEnabled User can activate.
UI adj disabled Cannot be interacted with. isDisabled User cannot activate.
UI adj visible Displayed on screen. isVisible User can see it.
UI v show Make element visible. show() Add to display.
UI v hide Make element invisible. hide() Remove from display.
UI v toggle Switch between states. toggle() Flip boolean state.
UI v focus Set focus on element. focus() Activate input.
UI v blur Remove focus from element. blur() Deactivate input.
UI v render Display on screen. render() Draw to viewport.
UI v click Simulate user click. click() Trigger click event.
Time n timestamp Specific point in time. createdTimestamp Moment in time recorded.
Time n duration Length/span of time. animationDuration How long something takes.
Time n interval Period between events. pollingInterval Gap between occurrences.
Time n timeout Time limit for operation. connectionTimeout Maximum wait time.
Time v wait Pause until condition met. wait(condition) Block until ready.
Time v delay Pause execution for period. delay(500) Wait specified duration.
Time v sleep Pause execution for period. sleep(1000) Similar to delay.
Time v schedule Plan for future execution. scheduleTask() Arrange future action.
Error n error Generic failure. AuthError  
Error n exception Language construct. RuntimeException Catchable.
Error v throw Raise exception. throw new Error()  
Error v fail Did not succeed. fail()  
Error v crash Unexpected stop. onCrash()  
Error v panic Unrecoverable error. panic() System-level failure.
Configuration n config Configuration settings. appConfig System settings.
Configuration n option Single configuration choice. sortOption Individual setting.
Configuration n parameter Input/configuration parameter. functionParameter Passed value.
Configuration n variable Configurable value holder. configVariable Mutable setting.
Configuration n environment Runtime environment settings. environmentVariables Deployment context.

(c) 2026 GoodRelax. MIT License.