Skip to content

Files

Latest commit

 

History

History
23 lines (14 loc) · 392 Bytes

unnecessary_underscores.md

File metadata and controls

23 lines (14 loc) · 392 Bytes

Pattern: Unnecessary underscore

Issue: -

Description

Avoid using multiple underscores when a single underscore will do.

Example of incorrect code:

void function(int __) { }

Example of correct code:

void function(int _) { }

Further Reading