Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Getting Rid of Strings8:08 with Pasan Premaratne
We got rid of some instances of strings in our function but there’s still room for improvement. In this video, we clean up both functions so there’s no room for error. After that we take a look at some of the language features that make enums easier to read and express.