2 ms·
I guess it partly depends on how varied your types are. In some domains you can find yourself working with 10 variables that are all strings, or all floats/inte
by nicoburns 6y ago
I guess it partly depends on how varied your types are. In some domains you can find yourself working with 10 variables that are all strings, or all floats/integers. At that point the type isn't that helpful for distinguishing which variable is which.
- secondcoming 6y agoI should have added that fairly liberal use of type aliases also helps. using B64String = std::string; B64String encode(const std::string& text); std::string decode(const B64String b64);