Order of evaluation for named arguments

claptrap clap at trap.com
Tue Apr 1 21:49:06 UTC 2025


On Tuesday, 1 April 2025 at 12:04:36 UTC, monkyyy wrote:
> On Tuesday, 1 April 2025 at 11:26:34 UTC, claptrap wrote:
>
> Im still waiting on named argument templates disambiguation but 
> im worried about expressiveness
>
> For example raylib has like 20 draw functions in a c verbose 
> style; it be nice to overload them all; but oh no draw line and 
> draw rectangle overlap (4 arguments, two x's and y's)

why is having separate functions for drawLine, drawRect bad?


More information about the Digitalmars-d mailing list