GoogleCloudPlatform / GoogleCloudPlatform/samples-style-guide
Migrate node.js client object naming guidance to this guide
Open
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
Assessment
This issue has not been assessed yet.