GoogleCloudPlatform / GoogleCloudPlatform/samples-style-guide

Migrate node.js client object naming guidance to this guide

Open
#121 0 comments 0 reactions 1 assignee Claimed by @grayside View on GitHub
guideline: request type: feature request
Dominant language
HTML
Stars
13
Forks
17
PR merge metrics
No merged PRs in 30d

Description

### Description

The following text is from another node.js guide. Let's consolidate this to one place:

```
Name the variable the camel-cased version of the constructor, making sure the variable name ends with `Client`.

As variable names, `someApi` and `client` are each not descriptive enough. `someApiClient` follows a standard pattern that balances being descriptive and allowing for multiple clients in a single sample.
```

### Impact

_No response_

### Challenge

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.