3 ms·
Since this article was written c++17 has added std::variant and things like std:any. But his complaint about c++ matching being verbose is really AI complaint
by gumby 9y ago
Since this article was written c++17 has added std::variant and things like std:any. But his complaint about c++ matching being verbose is really AI complaint that c++ typically doesn’t have a first class type system (unless rtti is used, and even then you can’t create new types at runtime). This lack is either a limitation or benefit depending on your objectives for the program you are developing.
There isn’t a One True Approach; I do all my work in Common Lisp or C++ and although both are multi-paradigm languages they aren’t substitutable for each other.