Closed elfring closed 2 years ago
@elfring I use IntelliJ for all optimization suggestions, and have never seen this coming up. I searched web for any mention of real advantages of using compound assignment operators. Other than lesser typing required, I don't see any pros. Do you have any strong reason of why this should be used?
I searched web for any mention of real advantages of using compound assignment operators.
The amount of available information differs for this technical detail according to the selected programming language.
Other than lesser typing required, I don't see any pros.
I would appreciate to avoid the specification of duplicate expressions a bit more.
Do you have any strong reason of why this should be used?
:thought_balloon: I suggest to reconsider optimisation opportunities also according to the programming language “Java”.
I'll leave it for now as I don't see much value in doing this. I might take it up in future when I do cleanup or large refactoring.
:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to increase the usage of compound operators accordingly.