Feedback for generics prototype

This thread about generics / templates, as well as this other one about exceptions, reminded me of a talk at CppCon back from 2014:

Some of you might be familiar with it. Although the talk is related to a completely different world (AAA games), the underlying goal is arguably the same as the reason for using Fortran: performance. In that talk, starting around 8.30 min, he shows a list (incomplete list here):

  • Exceptions
  • Templates
  • (Multiple inheritance)
  • Operator overloading

Those are the things NOT to be used, avoided at all costs (only with minor exceptions). A familiar list looking at the latest/upcoming standards.

Food for thought.

1 Like