An explicit if-else is more readable and conveys the purpose in a clearer manner.