Inspectopedia
 
2024.3

Result of assignment used

Warning
Code Style
Last modified: 03 December 2024

Reports assignment expressions nested inside other expressions to use the assigned value immediately.

Such expressions may be confusing and violating the general design principle that a given construct should do precisely one thing.