New in C#4
bearophile
bearophileHUGS at lycos.com
Wed Oct 29 13:28:25 PDT 2008
Denis Koroskin:
> graphicsDevice->updateSettings(fullScreen: true, verticalSync: true,
> enableBloom: false, fullScreenAA: true);
Seeing this, now I think the syntax with equals is a little shorter, so maybe I prefer the equals:
graphicsDevice->updateSettings(fullScreen=true, verticalSync=true,
enableBloom=false, fullScreenAA=true);
> compiler could reorder parameters for me automatically if given
> that all of them are specified and no params ommited (unlike Python).
Maybe I don't understand what you are saying, but Python too reorders arguments.
Bye,
bearophile
More information about the Digitalmars-d
mailing list