color lib
Ethan Watson via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 7 01:09:06 PDT 2016
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.
More information about the Digitalmars-d
mailing list