---
title: Use Verb-Noun Pattern for Functions
impact: MEDIUM
impactDescription: improves readability and intent discovery
tags: naming, functions, readability, quality, python
---

## Use Verb-Noun Pattern for Functions

Function names should clearly state what they do. Using a verb-noun pattern makes the code self-documenting.

**Incorrect (ambiguous naming):**
```python
def data(): ...
def process(): ...
def my_function(): ...
```

**Correct (verb-noun naming):**
```python
def get_user_data(): ...
def process_order_status(): ...
def validate_email_address(): ...
```

**Spark Context:**
```python
def clean_null_values(df): ...
def aggregate_daily_sales(df): ...
```
