---
title: Use inclusive language in comments
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > Code Security > Static Code Analysis (SAST) > SAST
  Rules > Use inclusive language in comments
---

# Use inclusive language in comments

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site). ().
{% /alert %}

{% /callout %}

## Metadata{% #metadata %}

**ID:** `go-inclusive/comments`

**Language:** Go

**Severity:** Notice

**Category:** Best Practices

## Description{% #description %}

Use inclusive language in comments.

## Non-Compliant Code Examples{% #non-compliant-code-examples %}

```go
/**
 *  whitelist and blacklist names to prevent unauthorized usage
 */

// This app follows the master/slave model

// she SHE should check her code

// he should check his
```

## Compliant Code Examples{% #compliant-code-examples %}

```go
/**
 *  allowlist and denylist names to prevent unauthorized usage
 */

// This app follows the primary/secondary model

// They should check their code
```
  Seamless integrations. Try Datadog Code SecurityDatadog Code Security 
{% icon name="icon-external-link" /%}
 