JADEĀ  Environment Development Ideas

Default Method Parameter Values

To alleviate some of the issues for which we'd like method overloading, it'd be useful if we had the ability to specify default method parameter values.

Like other languages, this would apply to trailing method parameters only.

This will help us in scenarios where we need to update a common method to support/use a new method parameter, for which we'd currently need to change all method references simultaneously to supply a value for the new parameter. If we had the ability to set default method parameter values, new parameters could be introduced with a default value matching the original behaviour, after which we'd be able to gradually update method references to use the new options if applicable.

  • Kevin Saul
  • Sep 16 2019
  • Future consideration
  • Attach files