1-line ifs are usually forbidden by codestyle