Top "Named-parameters" questions

Named parameters enable you to specify an argument for a particular parameter by associating the argument with the parameter's name rather than with the parameter's position in the parameter list.

C# : overloading constructors with optional parameters & named arguments?

This isn't a question on proper coding practice, I'm just working through the semantics. lets say I have the following …

c# optional-parameters named-parameters
Typescript: Create class via constructor passing in named parameters?

I have a class where I have the constructor defined with 3 parameters which are all optional. I was hoping to …

typescript named-parameters
named parameters with default values in groovy

Is it possible to have named parameters with default values in groovy? My plan is to make a sort of …

groovy named-parameters keyword-argument
vsprintf or sprintf with named arguments, or simple template parsing in PHP

I'm searching for a way to use named arguments for sprintf or printf. Example: sprintf( 'Last time logged in was %…

php templates printf string.format named-parameters
I want to use named parameters in Dart for clarity. How should I handle them?

TL;DR: Named parameters are optional as a result of a conscious design choice. Short of having official language support, …

dart flutter required named-parameters
JavaScript function with optional parameters

I'm new to JavaScript coming from Python background. In Python parameters can be passed as key and value as such: …

javascript named-parameters default-parameters
Should I call Parameters.Clear when reusing a SqlCommand with a transation?

I'm coding a transaction manually in ADO.NET. The example I'm working from reuses the SqlCommand which seem like a …

c# ado.net transactions named-parameters
Determine if a named parameter was passed

I would like to know if it is possible to determine if a function parameter with a default value was …

python default-value named-parameters
Set named parameter for Oracle dbms_scheduler job stored procedure

Is it possible to passed named arguments to for dbms_scheduler job with a type 'stored_procedure' ? I've tried this …

stored-procedures plsql oracle10g named-parameters dbms-scheduler
Are Options and named default arguments like oil and water in a Scala API?

I'm working on a Scala API (for Twilio, by the way) where operations have a pretty large amount of parameters …

scala optional-parameters named-parameters