You should find good variable names for each condition statement and use the variables in one if statement, - why didn't you propose such names? Your proposed solution, as it stands, is certainly worse than the original. Besides, you haven't explained why merging the statements is a good idea.
↧