On Thursday, March 16, 2017 19:53:14 Andrei Alexandrescu via Digitalmars-d wrote: > On 3/16/17 9:44 AM, Jonathan M Davis via Digitalmars-d wrote: > > I completely agree that we should try and make the template constraints > > on public functions in Phobos - and other libraries be simple - and try > > and restrict a lot of the more complicated stuff to internals. > > Acta, non verba! > > We all are in violent agreement about this, yet there continues to be > prolific discussion about it. Directing that energy toward simple, > almost mechanical pull requests that merge unnecessary overloads would > work wonders. -- Andrei
Yes, but the main point of this thread was to discuss what to do about the various string-related traits not about converting overloaded templated functions into static ifs. That part was already agreed upon previously and IMHO is largely orthogonal to the string-related traits. It's just that H.S. Teoh thinks that that then fixes the string-related traits with the idea that they should be changed to private inside of Phobos instead of public for folks to use in their own libraries, because the public-facing template constraints would mostly not be using them, and I don't agree with that at all. If Phobos needs them, then 3rd party libraries will as well, and they're already public. That's primarily why this discussion has dragged on. - Jonathan M Davis
