Inspectopedia
 
2024.3

Nested assignment

Warning
Code Style
New
Last modified: 03 December 2024

Reports an assignment expression nested inside another expression, for example, a = b = 1. Such expressions may be confusing and violate the general design principle that a given construct should do precisely one thing.