I am presenting at @CppCon
this October. The title of the talk is "A Journey into Non-Virtual Polymorphism." It is an introduction to polymorphism that doesn't rely on inheritance.

I hope to see y'all of there, especially those from @CppNorth.

@CppDiscuss

Based on the comments here and another private one, I'll accept that function overloading and similar techniques are polymorphism. That defines the term as "type-based dispatch", or, in more C++ terms, "type-based invocation". I can work with that. The main focus will be on the override pattern, CRTP, and other approaches I've yet to discern.

Show thread

Testing if the group @DiscussCPlusPlus@chirp.social is working. I just created it for and discussions.

Thinking about a conference talk on non-virtual polymorphism. I did an article on Medium with the overload pattern so I have the material. But the definition of "polymorphism" is slippery. For example, is function overloading polymorphism? I don't think so but if polymorphism is type-based dispatch it kind of fits. 🤔 🤔

Any thoughts?

An exploration of FizzBuzz using standard functions and the Ranges library, specifically views and pipelines.

medium.com/one-stop-c-plus-plu

Looking into learning more about functional programming, especially with . I have the Cukic and Bolboaca books. Just started reading the latter. Unfortunately, they are not in alignment with 20 and obviously not with 23.

I am interested in FP, but I haven't seen anything that seems current or not focused on other languages.

Please reply if interested and we'll see if there are enough to start a discussion.

(Is there a hashtag for FP? Creating a tag for discussions.)

@simontoth

After seeing your stories on Medium, I did some of the Advent of Code. Your use of functional programming led me to work with it more.

Currently working on an FP version of Day 7, the Linux-like command processing.

I wonder if a views::transform can take a vector in and output a std::set or std::map.

Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.