5 lines
340 B
Plaintext
5 lines
340 B
Plaintext
![]() |
Making assignments within sub-expressions can hinder the clarity of source code.
|
||
|
|
||
|
This practice essentially gives a side-effect to a larger expression, thus making it less readable. This often leads to confusion and potential errors.
|
||
|
|
||
|
Extracting assignments into separate statements is encouraged to keep the code clear and straightforward.
|