Peer reviews are a great source of insight. This is why we do code reviews and talks rehearsals. Blog posts are no exceptions and my astute readers pointed two things in the previous article Better polymorphic ducks that I will now share with you.
Continue reading Follow-up to 'Better polymorphic ducks'
The use of the TEPS (Type Erasure (Sean) Parent Style) we have shown in the first part of this series gave us what I call a Polymorphic Duck: something that can walk like a duck and quack like a duck, but it not necessarly inherited from a base
Duck class. Moreover, the
walk() are expected to be free function, not methods, which allows for looser coupling (especially if they take arguments that have nothing to do with the duck itself).
Continue reading Better polymorphic ducks
I hate the
virtual keyword. Inheritance fills me with a sense of dread. I can always quote half a dozen technical reasons to explain it. People much more smarter than me have discussed why it’s the worst form of composition.
Continue reading Polymorphic ducks
About 6 months ago, I sent the abstract of one of my submissions to CppCon to my colleague Jonathan Boccara for advice. A few messages in the discussion he asks “did you also submit for Meeting C++?” and I admitted the thought hadn’t crossed my mind. To me, speaking at one conference like CppCon was already a big step and it would be redundant to propose the same talk at two different conferences anyway.
Continue reading Meeting C++ 2017 trip report
The law of leaky abstractions by Joel Spolsky is one of the first technical article I encountered after I got my engineering degree and it remains one of the most influential to me.
Continue reading About leaky abstractions