6 ms·
Curious about the reasoning for removing type aliases? I don’t have an opinion on that myself
by temp123789246 3y ago
Curious about the reasoning for removing type aliases? I don’t have an opinion on that myself
- tadfisher 3y agonewtypes are strictly better. Basically 100% of the time a type alias leaks some API that's inappropriate for the intended usage of the type, and you can derive newtype methods if you actually want to do that.
- whateveracct 3y agoNot strictly better. Type aliases are sometimes a nice thing to use.