Challenge D
Given this code, write a switch statement that will print out whether the monument is located in the northern hemisphere, the southern hemisphere, or on the equator.
let coordinates = (lat: 192.89483, long: -68.887463)
All programmers, especially skilled ones, need to worry about error handling. It isn’t about being a bad programmer — it’s about acknowledging that you don’t control everything.
In this chapter, you’ll learn the fundamentals of error handling: what it is, how you implement it and when you need to worry about it.