Skip to content

Files

Latest commit

 

History

History
12 lines (7 loc) · 374 Bytes

modifies-parameter.md

File metadata and controls

12 lines (7 loc) · 374 Bytes

Pattern: Function modifies parameter

Issue: -

Description

A function that modifies its parameters can be hard to understand. It can also be misleading if the arguments are passed by value by the caller. This rule warns when a function modifies one or more of its parameters.

Further Reading