Generality creep

Walter Bright newshound2 at digitalmars.com
Tue Mar 19 19:33:37 UTC 2019


On 3/19/2019 2:01 AM, Kagamin wrote:
> Isn't generality one of phobos acceptance criteria?

I'm not so sure about that. Should Phobos work on abstractions that have a 
square wheel? Or only well-formed abstractions? In my experience, when an 
abstraction has a square wheel, it's genesis was a poor understanding of how to 
build an abstraction, not a requirement of that abstraction. Hence, rejecting it 
helps the programmer build better abstractions.

I.e. should Phobos accept things because it can, or because it should?


More information about the Digitalmars-d mailing list