Is there a nice syntax to achieve optional named parameters?
rikki cattermole
rikki at cattermole.co.nz
Tue Jan 15 11:26:50 UTC 2019
Longer term, you're better off with the builder. Even with named
parameters (2 DIP's are in the queue for adding it).
Creating windows is a very complex task that can balloon in scope.
Being able to hide it away in a separate type can be quite desirable if
you want your windowing library to be actually useful in not just one
simple case.
Of course that doesn't mean you couldn't hide that its there ;)
More information about the Digitalmars-d-learn
mailing list