Explicit Is Better Than Implicit -- K-ballo
Tales of C++, Episode 5:
Explicit Is Better Than Implicit
The Zen of Python tell us that Explicit is better than Implicit. This is good advice for any and all languages, but what are the implications in the C++ lands? There is one particular C++ feature that relates directly to that advice; one important enough that grants on its own the introduction of a keyword. That feature is user-defined conversions and that keyword is
explicit
.