Top "Parameters" questions

Parameters are a type of variable used in a subroutine to refer to the data provided as input to the subroutine.

How many parameters are too many?

Routines can have parameters, that's no news. You can define as many parameters as you may need, but too many …

parameters language-agnostic
How to pass anonymous types as parameters?

How can I pass anonymous types as parameters to other functions? Consider this example: var query = from employee in employees …

c# function parameters anonymous-types
Ruby: How to turn a hash into HTTP parameters?

That is pretty easy with a plain hash like {:a => "a", :b => "b"} which would translate into "a=…

ruby http parameters hashmap
What does the construct x = x || y mean?

I am debugging some JavaScript, and can't explain what this || does? function (title, msg) { var title = title || 'Error'; var msg = …

javascript parameters optional-parameters or-operator
Use of "this" keyword in formal parameters for static methods in C#

I've come across several instances of C# code like the following: public static int Foo(this MyClass arg) I haven't …

c# parameters this
Creating a procedure in mySql with parameters

I am trying to make a stored procedure using mySQL. This procedure will validate a username and a password. I'm …

mysql parameters procedure
How to pass parameters or arguments into a gradle task

I have a gradle build script into which I am trying to include Eric Wendelin's css plugin - http://eriwen.…

variables groovy parameters gradle
Can I create view with parameter in MySQL?

I have a view like this: CREATE VIEW MyView AS SELECT Column FROM Table WHERE Value = 2; I'd like to make …

mysql stored-procedures view parameters
Default Values to Stored Procedure in Oracle

I have a stored procedure as follows. CREATE OR REPLACE PROCEDURE TEST( X IN VARCHAR2 DEFAULT 'P', Y IN NUMBER …

stored-procedures parameters plsql oracle11g default
Difference between const reference and normal parameter

void DoWork(int n); void DoWork(const int &n); What's the difference?

c++ parameters reference constants