Inspectopedia
 
2024.3

Expression can be factorized

Info
New
Last modified: 03 December 2024

Reports expressions that can be factorized, i.e. reorganized to pull out a common factor. This reduces redundancy and could improve the readability of your code.

Example:

After the quick-fix is applied:

New in 2021.3