Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 244 Bytes

consider-swap-variables.md

File metadata and controls

7 lines (4 loc) · 244 Bytes

Pattern: Missing use of tuple unpacking for swapping variables

Issue: -

Description

You do not have to use a temporary variable in order to swap variables. Using "tuple unpacking" to directly swap variables makes the intention more clear.