<!--
title: Capitalize acronyms consistently
domain: observability
topic: Naming Conventions
language: Json
source: langfuse/langfuse
updated: 2025-04-15
url: https://awesomereviewers.com/reviewers/langfuse-capitalize-acronyms-consistently/
-->

Use standard capitalization for acronyms in all identifiers, method names, variables, and other code elements. Common acronyms like 'API', 'URL', 'JSON', 'HTML', and 'XML' should be written in all uppercase letters.

This applies to all contexts:
- Function names: `getAPIKeys` instead of `getApiKeys`
- Variable names: `userAPIConfig` instead of `userApiConfig`
- API endpoint names: `"name": "Get API Keys"` instead of `"name": "Get Api Keys"`
- Text content in comments and documentation

For example, in our API endpoint definitions:

```json
{
  "_type": "endpoint",
  "name": "Get API Keys",  // Correct - acronym fully capitalized
  ...
}
```

Instead of:

```json
{
  "_type": "endpoint",
  "name": "Get Api Keys",  // Incorrect - inconsistent acronym capitalization
  ...
}
```

Consistent acronym capitalization improves code readability, maintains professional standards across the codebase, and helps ensure interface consistency for users.
