I haven&#x27;t written C++ with any significance in a few years, and done little with Rust at all. So while I don&#x27;t feel qualified to speak to the comparison at the core of the blog post, I did find the first example to be disingenuous. It rests entirely on assuming the C++ programmer will rely on inheritance to achieve polymorphism, simply because they can?<p>Additionally, the C++ example doesn&#x27;t produce the same output (&quot;Value: (x: 7)&quot; and &quot;Value: (x: 5, y: 10)&quot;). The addition of that goal might lead the programmer to treat the C++ version of print_me as something more abstract, accepting a string and having class Foo and class Bar simply return their own string representations.<p>I acknowledge that the premise was &quot;a beginner C++ developer&quot;, getting hyped up about inheritance and using it as the only tool in their toolbelt, but how many people are learning C++ as a first language these days? It used to be the norm, back in the OO-will-save-us-all heydey, but has anyone run into it lately?