color lib

Manu via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 8 06:06:42 PDT 2016


On 7 October 2016 at 18:09, Ethan Watson via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On Friday, 7 October 2016 at 01:57:06 UTC, Manu wrote:
>>
>> Regarding 'Linear.No'... yeah... I dunno. I've had this argument before.
>> I really hate that pattern. If it's required, I'll do it
>
>
> At least as far as readability goes, explicit parameterisation lets you
> understand the invocation at a glance rather than already knowing the actual
> name of the parameter or having to go elsewhere in code to see the
> prototype. For a library, I'd favor readability.

Oh no, you too? >_<
Incidentally, have you had a geez over the core API? An efficient API
will emerge when we work out how to work batched operations into
ranges...


More information about the Digitalmars-d mailing list