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.

Is it possible to use named function parameters in PHP?

Is it possible in php like in python to have named function parameters? An example use case is: function foo($…

php named-parameters php-8
No named parameters in Ruby?

This is so simple that I can't believe it caught me. def meth(id, options = "options", scope = "scope") puts options …

ruby parameters named-parameters
Using named parameters in node.js

I am using node.js v4.3.1 I would like to use named parameters in calling functions as they are more …

javascript node.js function named-parameters
Named/optional parameters in Delphi?

In one of the Delphi demo applications, I've stumbled upon some syntax that I didn't know the Delphi compiler accepted: // ......\…

delphi optional-parameters named-parameters
Stored procedure with named parameter and calculation

I'm calling a stored procedure with named parameter. exec MySP @name = 'binesh', @amount = @amt, @date = @date It's working fine for …

sql-server database tsql stored-procedures named-parameters
Kotlin: Can you use named arguments for varargs?

For example, you might have function with a complicated signature and varargs: fun complicated(easy: Boolean = false, hard: Boolean = true, …

function kotlin default-value variadic-functions named-parameters
Named Parameters in Ruby Structs

I'm pretty new to Ruby so apologies if this is an obvious question. I'd like to use named parameters when …

ruby struct named-parameters
Does PHP allow named parameters so that optional arguments can be omitted from function calls?

Is it possible in PHP to specify a named optional parameter when calling a function/method, skipping the ones you …

php default-value optional-parameters named-parameters php-8