Hi I just completed the Swift Fundamentals book and have a question about the keywords any
and some
. Most of the resources on the internet explain their difference, but I don’t understand why they are used at all. For example, in the snippet below
var a: Person = Student()
var b: some Person = Student()
var c: any Person = Student()
Why would someone use some or any?