What's missing from Phobos for Orbit (package manager)

Walter Bright newshound2 at digitalmars.com
Sat Feb 16 14:22:34 PST 2013


On 2/16/2013 10:35 AM, SomeDude wrote:
> On Thursday, 14 February 2013 at 10:01:21 UTC, Walter Bright wrote:
>> On 2/14/2013 12:32 AM, bearophile wrote:
>>> Walter Bright:
>> A good interface design has the *minimum* number of functions out of which
>> anything else can be built. Functions that are recombinations of other
>> functions in the same interface do not belong in that interface.
>>
>> It's tempting to create kitchen sink abstractions, but they really are a bad
>> idea.
>
> Yes, it actually makes reading code *harder* for everyone but the writer,
> because the code ends up lacking consistency.

My own experience is it makes it harder for the writer, too :-)

Also, it often takes several iterations to discover just what the right minimum 
set is. Nobody gets it right the first time.


More information about the Digitalmars-d mailing list