Generality creep
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Mar 28 11:33:13 UTC 2019
On 3/28/19 7:02 AM, ag0aep6g wrote:
> On 28.03.19 09:52, Walter Bright wrote:
>> A topical example:
>>
>> https://github.com/dlang/phobos/pull/6346#issuecomment-477504005
>
> That pull request was open for a year(!) waiting for someone to make a
> decision. And before that I had asked about the issue on the forum [1].
>
> If you want things to go your way, consider answering when someone asks
> for direction.
That's good work actually (which underlines the irony of the situation)
- once refRange got in the question of supporting it came naturally.
Generality crept in, one good intention at a time.
We should use D's good name lookup mechanism to create a versioning
strategy a la std.v2 that reuses the good parts of std and fixes the bad
parts. That way we focus on adding good things and letting bad things in
maintenance mode, as opposed to changing existing things. Even C++, with
its rather poor modularity mechanism, has made std::tr1 and std::tr2 work.
More information about the Digitalmars-d
mailing list