To Respect our Goal of Clean code:
We convert the boolean status to Enum.
We utilize Switch to further that cleanliness.
Watch video ENUMS 2 online without registration, duration hours minute second in high quality. This video was added by user Reza's Coding Monologue 28 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6 once and liked it people.