On Thursday, 18 February 2021 at 13:53:19 UTC, Paul Backus wrote:
Another possibility is to use discriminated unions and tag-based dispatch (i.e., switch statements) instead of classes and virtual method dispatch. This would make it a bit harder to follow the book, but might be a better learning experience if you're up for a challenge.
Thanks for the reply.
