If I subclass a class named Animal and name it Dog, is the class Dog a new type?
Please see this question and the answer I submitted to that question for some background.
>Solution :
Given these 2 definitions
class Animal { }
class Dog: Animal { }
well YES, Animal and Dog have different types and you can check it running this code
type(of: Animal()) == type(of: Dog())
Hope it helps.
