Those ratings shouldn't be averaged together though, because the weighting would be different for everyone. Each category would have its own average, and when I'm searching for a place, I would specify what I care about.
No it doesn't. This article is specifically about how you can use the Swift type system to prevent that from happening. You get a compile time guarantee that the result will either be data or error.
Those ratings shouldn't be averaged together though, because the weighting would be different for everyone. Each category would have its own average, and when I'm searching for a place, I would specify what I care about.
No it doesn't. This article is specifically about how you can use the Swift type system to prevent that from happening. You get a compile time guarantee that the result will either be data or error.