Are there programming languages that let you return a type that matches the actual object?
I've been working with different programming languages, and I've noticed an issue when trying to return a dynamic self-reference. For example, in a `Parent` class, I can define…