First level error handling with optionals
Before you deep dive into the error handling protocols and blocks, start with the simplest way of error handling. In programming, it’s important to try and use the simplest solution at your disposal. There is no point in complicating things when your problem could be solved by changing one line of code.