[J3] Default values for optional arguments

Ondřej Čertík ondrej at certik.us
Wed Jan 20 19:12:01 UTC 2021


Hi Thomas,

On Wed, Jan 20, 2021, at 12:32 AM, Thomas König via J3 wrote:
> 
> A somewhat common thing to do for optional arguments is to set them
> to a default value if the caller did not specify anything.  One idiom
...
> 
> Opinions?

Thanks a lot for bringing this up. As Jérémie pointed out, here is the issue for this:

https://github.com/j3-fortran/fortran_proposals/issues/22

Please give it a thumbs up if you like it. If you want to help get this into the standard, we need somebody to take a lead on this proposal. One must organize and lead the conversation in the issue to get an agreement on the best path forward, and then have a proposal ready for the next committee meeting (in February) that addresses the committee and community's comments. Please let me know if you'd be willing to do that, that would be a huge help.

The committee will then consider it and provide feedback.

Ondrej


More information about the J3 mailing list