Why is inheritance not desirable in Swift?
3 reasons inheritance is not good:
- You cannot use superclasses or inheritance with Swift value types.
- Upfront modeling
- Customization is vague.
BY Best Interview Question ON 13 Jan 2019
3 reasons inheritance is not good: