Re:Be wary of functions which take several parameters of the...
by michaelcampbell on Wednesday October 02, 2019 @05:17PM
(#21140826)
> but the problem is that you now need 10 versions for many operations that are in a string library
Do you? Or do you need just the operations for the things that are relevant to the type at hand? Limiting a broad API to the needed interface for the type you're modeling is a GOOD thing.
Do you? Or do you need just the operations for the things that are relevant to the type at hand? Limiting a broad API to the needed interface for the type you're modeling is a GOOD thing.