Re: Haskell is our first choice for building production soft...
by nicoburns on Monday January 11, 2021 @05:22PM
(#25738325)
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.
[ Parent
| on HN ]
Re: Haskell is our first choice for building production soft...
by secondcoming on Tuesday January 12, 2021 @05:58AM
(#25745162)
I 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);