Gang Of Coders
Home
About Us
Contact Us
All Function Solutions on Gang of Coders
Total of 545 Function Solutions
How do JavaScript closures work?
Javascript
Function
Variables
Scope
Closures
var functionName = function() {} vs function functionName() {}
Javascript
Function
Syntax
Idioms
How to apply a function on every row on a dataframe?
Python
Function
Pandas
Add jQuery function to specific elements
Jquery
Function
Add
Call a function in another script when executing using 'Run With PowerShell'
Function
Powershell
How to make a .lib file when have a .dll file and a header file
C++
Dll
Header
Function
Calling a function on every element of a C++ vector
C++
Function
Vector
Python: Passing variables between functions
Python
Function
Arguments
Laravel str_random() or custom function?
String
Function
Random
Laravel
Uuid
Swift MKMapView Polygon Overlay glitching
Ios
Swift
Function
Mkmapview
Overlay
C/C++: Static function in header file, what does it mean?
C++
C
Function
Static
In PHP, how do I check if a function exists?
Php
Function
Are "(function ( ) { } ) ( )" and "(function ( ) { } ( ) )" functionally equal in JavaScript?
Javascript
Function
Correct Use Of Global Variables In Python 3
Python
Function
Variables
Python 3.x
Global Variables
Function pointers and address of a function
C
Function
Pointers
Function Pointers
Using getopts inside a Bash function
Bash
Function
Getopts
Is the behavior behind the Shellshock vulnerability in Bash documented or at all intentional?
Bash
Function
Security
Environment Variables
Shellshock Bash-Bug
python pandas- apply function with two arguments to columns
Python
Function
Pandas
Dataframe
Why does `obj.foo = function() { };` not assign the name `foo` to the function?
Javascript
Function
Ecmascript 6
Is it always safe to modify the `**kwargs` dictionary?
Python
Function
Dictionary
Scope
Passing multidimensional arrays as function arguments in C
C
Function
Multidimensional Array
Good explanation of "Combinators" (For non mathematicians)
Function
Lambda
Combinators
Y Combinator
How many lines of code should a function/procedure/method have?
Function
Coding Style
Refactoring
Code Metrics
Function pointer as a member of a C struct
C
Function
Pointers
Function naming conventions
Function
Naming Conventions
How to get the function name from within that function?
Javascript
Function
In a C function declaration, what does "..." as the last parameter do?
C
Syntax
Function
Parameters
How do I call a function twice or more times consecutively?
Python
Function
Shortcut
Sequential
Function declarations inside if/else statements?
Javascript
Function
Scope
Method vs Functions, and other questions
Javascript
Function
Methods
jQuery's .click - pass parameters to user function
Javascript
Jquery
Function
Parameter Passing
Difference between methods and functions, in Python compared to C++
Python
Function
Oop
Methods
Passing functions as parameters in Swift
Ios
Swift
Function
Parameter Passing
What do * (single star) and / (slash) do as independent parameters?
Python
Python 3.x
Function
Parameter Passing
Function Parameter
How can I combine multiple rows into a comma-delimited list in SQL Server 2005?
Sql
Sql Server
List
Function
Concatenation
How to change onClick handler dynamically?
Javascript
Function
gdb, set breakpoint on all functions in a file
Function
Gdb
Breakpoints
Why JavaScript getTime() is not a function?
Javascript
Function
Date
Gettime
Why isn't a function's arguments object an array in Javascript?
Javascript
Function
Arrays
Arguments
Why can't we pass arrays to function by value?
C++
Arrays
Function
Arguments
jquery how to use multiple ajax calls one after the end of the other
Jquery
Function
Get
Jsonp
Passing optional callback into Swift function
Function
Callback
Functional Programming
Swift
Meaning of = delete after function declaration
C++
Function
C++11
Declaration
Delete Operator
Why are pointers to inline functions allowed?
C++
Function
Inline
Passing parameters to a JQuery function
Javascript
Jquery
Html
Function
Parameters
Objective-C function with default parameters?
Objective C
Function
Parameters
Default Value
What ways are there to edit a function in R?
R
Function
Editing
Curly braces inside JavaScript arguments for functions
Javascript
Function
Arguments
Curly Braces
Passing parameters to a Bash function
Bash
Function
Parameters
Arguments
Python convert decimal to hex
Python
Function
Decimal
Hex
What does :: (double colon) stand for?
Function
Haskell
Syntax
Types
Why is the output of my function printing out "None"?
Python
Function
Delete digits after two decimal points, without rounding the value
Php
Function
Rounding
Proper use of const for defining functions
Javascript
Function
Constants
Ecmascript 6
Defining private module functions in python
Python
Function
Module
Private
Simplest way to determine return type of function
C++
Function
C++17
Return Type
Compile Time
Functions in Makefile
Bash
Function
Makefile
Gnu Make
Writing a vim function to insert a block of static text
Function
Vim
What is a practical use for PHP's sleep()?
Php
Function
Sleep
Usleep
Is it ok to skip "return None"?
Python
Function
Return Value
How do I remove http, https and slash from user input in php
Php
Function
Preg Replace
How to pass arguments to functions by the click of button in PyQt?
Python
Function
Arguments
Pyqt4
Argument Passing
Is NaN equal to NaN?
Javascript
Function
Nan
Parseint
Parsefloat
Javascript Image Url Verify
Javascript
Image
Function
Url
Verify
Understanding the difference between f() and f(void) in C and C++ once and for all
C++
C
Function
Void
Pass an extra argument to a callback function
Javascript
Function
Parameters
Callback
PHP global or $GLOBALS
Php
Variables
Function
Global
Why doesn't C++ support functions returning arrays?
C++
Arrays
Function
Unlimited arguments in a JavaScript function
Javascript
Arrays
Function
How to create a custom EL function to invoke a static method?
Function
Jsf
Jsf 2
El
Static Methods
What is the difference between PHP echo and PHP return in plain English?
Php
Function
Return
Echo
Call-time pass-by-reference has been removed
Php
Class
Function
Pass by-Reference
Public
Memset Definition and use
C++
C
Function
Is it possible to define global variables in a function in Python
Python
Function
Global Variables
What are the differences between functions and methods in Swift?
Function
Methods
Swift
Remove double quotes from the return of a function in PostgreSQL
Json
Database
Postgresql
Function
How does the C++ compiler evaluate recursive constexpr functions so quickly?
C++
Function
Recursion
Constexpr
Is there a JavaScript function that reduces a fraction
Javascript
Function
Fractions
How do I inherit javascript functions ?
Javascript
Oop
Function
Inheritance
Prototypal Inheritance
Calling a function every 60 seconds
Javascript
Function
Timer
Setinterval
Jump to function definition
Function
Vim
Python return list from function
Python
List
Function
Why does python `any` return a bool instead of the value?
Python
Function
Internal
Change onClick attribute with javascript
Javascript
Html
Function
why should one prefer call_user_func_array over regular calling of function?
Php
Function
Callback
jQuery isFunction check error "function is not defined"
Jquery
Function
Why there is no BooleanConsumer in Java 8?
Java
Function
Java 8
jQuery 1.9 .live() is not a function
Javascript
Jquery
Function
Live
Deprecated
PHP function to generate v4 UUID
Php
Function
Uuid
What is "lifting" in Scala?
Function
Scala
Functional Programming
Lifting
How to turn a String into a JavaScript function call?
Javascript
Function
Return array in a function
C++
Arrays
Pointers
Function
Return
Difference between method and function in Scala
Function
Scala
Methods
How do I list the functions defined in my shell?
Bash
Shell
Function
Unix
Is there a math nCr function in python?
Python
Function
Math
jQuery pass more parameters into callback
Javascript
Jquery
Function
Callback
Arguments
Passing functions with arguments to another function in Python?
Python
Function
What is the difference between functions and classes to create reusable widgets?
Flutter
Function
Class
Dart
Flutter Widget
How do I get the function name inside a function in PHP?
Php
Function
What is "function*" in JavaScript?
Javascript
Function
Ecmascript 6
What is the difference between a "function" and a "procedure"?
Function
Terminology
Procedure
python max function using 'key' and lambda expression
Python
Function
Lambda
Is it possible to get all arguments of a function as single object inside that function?
Javascript
Algorithm
Function
Arguments
Marshalling
Set type for function parameters?
Javascript
Function
Make function wait until element exists
Javascript
Jquery
Html
Function
Difference between a virtual function and a pure virtual function
C++
Function
Pure Virtual
How are lambdas useful?
Python
Function
Lambda
Closures
Why does Python code use len() function instead of a length method?
Python
Function
Oop
Methods
String Length
Default argument values in JavaScript functions
Javascript
Function
Arguments
Python function attributes - uses and abuses
Python
Function
Attributes
Is it possible to define more than one function per file in MATLAB, and access them from outside that file?
Matlab
Function
File
Scope
Function Declaration
How to send an email with Python?
Python
Email
Function
Smtplib
Can functions be passed as parameters?
Function
Go
Using generic std::function objects with member functions in one class
C++
Function
Function Pointers
C++11
Tr1
How to get a function name as a string?
Python
String
Function
What is the naming convention in Python for variable and function names?
Python
Variables
Function
Naming Conventions
What do the parentheses around a function name mean?
C
Function
Parentheses
Determine if a function exists in bash
Bash
Function
Testing
Scripting
How to create a jQuery function (a new jQuery method or plugin)?
Javascript
Jquery
Function
What is the best way to exit a function (which has no return value) in python before the function ends (e.g. a check fails)?
Python
Function
Return
Difference between . and : in Lua
Function
Lua
How can I find the number of arguments of a Python function?
Python
Function
How to return 2 values from a Java method?
Java
Function
Return Value
Javascript call() & apply() vs bind()?
Javascript
Arrays
Function
This
What is the difference between a 'closure' and a 'lambda'?
Function
Lambda
Functional Programming
Closures
Local function vs Lambda C# 7.0
C#
Function
Lambda
C# 7.0
Should functions return null or an empty object?
C#
.Net
Function
Return Value
How and why does 'a'['toUpperCase']() in JavaScript work?
Javascript
Function
Passing a string with spaces as a function argument in Bash
Bash
Function
How can I return two values from a function in Python?
Python
List
Function
Return
Return Value
"Correct" way to specifiy optional arguments in R functions
R
Function
JavaScript plus sign in front of function expression
Javascript
Function
Operators
Iife
Self Invoking-Function
How to use R's ellipsis feature when writing your own function?
R
Function
Parameters
Ellipsis
Variadic
Error: could not find function ... in R
R
Function
Error Handling
R Faq
How to Truncate a string in PHP to the word closest to a certain number of characters?
Php
String
Function
What is the difference between call and apply?
Javascript
Performance
Function
Dynamic
How to determine function name from inside a function
Bash
Function
Arguments or parameters?
Language Agnostic
Parameters
Function
Arguments
Terminology
Why can I use a function before it's defined in JavaScript?
Javascript
Function
Is there a better way to do optional function parameters in JavaScript?
Javascript
Function
Arguments
Can I make a function available in every controller in angular?
Angularjs
Function
Global
Multiple arguments vs. options object
Javascript
Json
Function
Object
Arguments
How to pass all arguments passed to my bash script to a function of mine?
Bash
Function
Parameter Passing
Value receiver vs. pointer receiver
Function
Pointers
Go
Cannot read property 'addEventListener' of null
Javascript
Function
Getelementbyid
Addeventlistener
JavaScript curry: what are the practical applications?
Javascript
Function
Currying
Partial Application
Pass a JavaScript function as parameter
Javascript
Function
Parameters
How can I execute PHP code from the command line?
Php
Linux
Function
Shell
Command Line
Extending an Object in Javascript
Javascript
Function
Object
Prototype
Extends
In php, is 0 treated as empty?
Php
Function
Can you bind 'this' in an arrow function?
Javascript
Function
Ecmascript 6
Calling a JavaScript function named in a variable
Javascript
Function
Variables
What is the use of the JavaScript 'bind' method?
Javascript
Function
Bind
Isn't a semicolon (';') needed after a function declaration in C++?
C++
Function
Syntax
Declaration
How can I get a list of all functions stored in the database of a particular schema in PostgreSQL?
Postgresql
Function
T-SQL - function with default parameters
Tsql
Function
Default Parameters
What is define([ , function ]) in JavaScript?
Javascript
Function
Requirejs Define
Should I pass an std::function by const-reference?
C++
Function
Reference
Should I use std::function or a function pointer in C++?
C++
Function
C++11
Callback
Std
Swift optional escaping closure parameter
Swift
Function
Closures
Optional
How do I get SUM function in MySQL to return '0' if no values are found?
Mysql
Function
Null
Sum
How do you pass a function as a parameter in C?
C
Function
Pointers
Syntax
Parameters
How to create a template function within a class? (C++)
C++
Templates
Function
Class
Returning multiple objects in an R function
R
Function
Return multiple values from a function in swift
Function
Swift
Return
What are good uses for Python3's "Function Annotations"?
Python
Function
Annotations
Python 3.x
Rails - controller action name to string
Ruby on-Rails
Function
Forced naming of parameters in Python
Python
Function
Coding Style
Parameter Passing
Default function arguments in Rust
Function
Parameters
Arguments
Rust
functional interface that takes nothing and returns nothing
Java
Function
Java 8
Getting a better understanding of callback functions in JavaScript
Javascript
Function
Callback
Passing an Array as Arguments, not an Array, in PHP
Php
Arrays
Function
Methods
How could I create a function with a completion handler in Swift?
Function
Swift
Completionhandler
Call a function with argument list in python
Python
Function
PHP Fatal error: Using $this when not in object context
Php
Function
Class
Object
Fatal Error
How to pass anonymous types as parameters?
C#
Function
Parameters
Anonymous Types
How can I use optional chaining with arrays and functions?
Javascript
Arrays
Typescript
Function
Optional Chaining
What is the proper declaration of main in C++?
C++
Function
Standards
Main
C++ Faq
Delaying function in swift
Ios
Swift
Function
Delay
Call a function from another file?
Python
File
Function
Import
Is try {} without catch {} possible in JavaScript?
Javascript
Function
Try Catch
Return
Calling dynamic function with dynamic number of parameters
Javascript
Function
What is the JavaScript convention for no operation?
Javascript
Function
How can I create an Asynchronous function in Javascript?
Javascript
Jquery
Function
Asynchronous
"Parameter" vs "Argument"
Function
Parameters
Language Agnostic
Arguments
Terminology
Where should functions in function components go?
Javascript
Reactjs
Function
How to exit a function in bash
Bash
Function
Exit
Javascript Array of Functions
Javascript
Arrays
Function
Apply a function to every row of a matrix or a data frame
R
Function
Matrix
Apply
Sapply
Set a default parameter value for a JavaScript function
Javascript
Function
Parameters
Arguments
Default Parameters
What's the _ underscore representative of in Swift References?
Objective C
Function
Swift
Declaration
Doing something before program exit
Python
Function
Exit
anchor jumping by using javascript
Javascript
Html
Function
Anchor
Href
When is a function too long?
Function
Refactoring
Coding Style
How to plot multiple functions on the same figure, in Matplotlib?
Python
Function
Matplotlib
Graph
when to use an inline function in Kotlin?
Function
Kotlin
Inline Functions
PHP function comments
Php
Function
Comments
Format
Phpdoc
Default optional parameter in Swift function
Swift
Function
Optional
Iterating Over Dictionary Key Values Corresponding to List in Python
Python
List
Function
Dictionary
Loops
How to create function that returns nothing
Postgresql
Function
Plpgsql
Void
JavaScript: clone a function
Javascript
Function
Is there a JavaScript equivalent of the Python pass statement that does nothing?
Javascript
Python
Function
Lexical
What does apply_filters(...) actually do in WordPress?
Wordpress
Function
How to create default value for function argument in Clojure
Function
Clojure
Default Value
Optional Parameters
Creating functions in a loop
Python
Function
Determine function name from within that function (without using traceback)
Python
Function
Introspection
Traceback
How can I view the source code for a function?
R
Function
R Faq
PHP variables in anonymous functions
Php
Function
Variables
Global Variables
Anonymous
Function in JavaScript that can be called only once
Javascript
Function
Design Patterns
Is it better to return `undefined` or `null` from a javascript function?
Javascript
Function
Null
Return
Undefined
Define a global variable in a JavaScript function
Javascript
Function
Variables
Scope
Declaration
What is a "static" function in C?
C
Function
Static
Terminology
How are strings passed in .NET?
.Net
String
Function
Parameter Passing
Can you write nested functions in JavaScript?
Javascript
Function
Nested
Advanced JavaScript: Why is this function wrapped in parentheses?
Javascript
Function
Syntax
Parentheses
Iife
Is there an easy way to pickle a python function (or otherwise serialize its code)?
Python
Function
Pickle
JavaScript variable number of arguments to function
Javascript
Function
Arguments
Argument Passing
Is there a way to create a function from a string with javascript?
Javascript
String
Function
How to profile methods in Scala?
Function
Scala
Profiling
Aspect
How do I search an SQL Server database for a string?
Sql Server
Function
Search
Stored Procedures
Should I use an exception specifier in C++?
C++
Function
Exception
Throw
Specifier
Is this a pure function?
Javascript
Function
Functional Programming
Difference between passing array and array pointer into function in C
C
Arrays
Function
Parameter Passing
Space Efficiency
Python function as a function argument?
Python
Function
Arguments
Efficient evaluation of a function at every cell of a NumPy array
Python
Performance
Function
Numpy
Vectorization
In Python, when should I use a function instead of a method?
Python
Function
Coding Style
Methods
Apply function to each element of a list
Python
List
Function
error: default argument given for parameter 1
C++
Function
Default Arguments
Git - how do I view the change history of a method/function?
Objective C
Git
Function
Methods
History
const before parameter vs const after function name c++
C++
Function
Constants
PHP Function with Optional Parameters
Php
Function
Parameter Passing
console.log javascript [Function]
Javascript
Function
node.js
Console
Accept function as parameter in PHP
Php
Function
Which is more preferable to use: lambda functions or nested functions ('def')?
Python
Syntax
Function
Lambda
How to elegantly ignore some return values of a MATLAB function
Matlab
Function
Return Value
Declare variable in table valued function
Sql Server
Function
User Defined-Functions
Passing an integer by reference in Python
Python
Function
Pass by-Reference
Pass by-Value
How to extend Function with ES6 classes?
Javascript
Function
Inheritance
Ecmascript 6
Javascript Inheritance
How can I assign the output of a function to a variable using bash?
Bash
Variables
Function
`static` keyword inside function?
Php
Function
Static
Keyword
Why can't 'kotlin.Result' be used as a return type?
Function
Kotlin
Return Type
How to pass dictionary items as function arguments in python?
Python
Function
Python 2.7
Dictionary
What does "int& foo()" mean in C++?
C++
Function
Return by-Reference
$http.get(...).success is not a function
Javascript
Angularjs
Ajax
Function
JavaScript function order: why does it matter?
Javascript
Function
Jslint
Jshint
Why are Perl 5's function prototypes bad?
Perl
Function
Prototype
What are the problems that are mitigated by not allowing nested function declarations in Go?
Function
Go
Declaration
How do I round to the nearest 0.5?
C#
Math
Function
Calling a function within a Class method?
Php
Function
Class
Methods
Call
C - function inside struct
C
Function
Struct
Understanding how recursive functions work
Function
Recursion
Language Agnostic
Objective-C Split()?
Iphone
Objective C
Function
Split
Function for C++ struct
C++
Function
Struct
Is a function that calls Math.random() pure?
Javascript
Function
Pure Function
Is there a function in python to split a word into a list?
Python
Function
Split
How can I get the source code of a Python function?
Python
Function
Is ‘int main;’ a valid C/C++ program?
C++
C
Function
Main
Entry Point
Tools to get a pictorial function call graph of code
C
Function
Call Graph
Why isn't the size of an array parameter the same as within main?
C
Arrays
Function
Sizeof
Macro vs Function in C
C
Function
C Preprocessor
Javascript "this" pointer within nested function
Javascript
Function
Nested
This
In Javascript/jQuery what does (e) mean?
Javascript
Jquery
Function
Parameters
Parameter Passing
Passing an array as an argument to a function in C
C
Arrays
Function
Parameters
Parameter Passing
PHP mail function doesn't complete sending of e-mail
Php
Html
Function
Email
How can I apply a function to every row/column of a matrix in MATLAB?
Matlab
Function
Matrix
Vectorization
Check if all values in list are greater than a certain number
Python
List
Function
Max
Declare function at end of file in Python
Python
Function
Formatting
Adding console.log to every function automatically
Javascript
Function
Logging
Hook
Javascript: Extend a Function
Javascript
Function
Extend
How to return a string value from a Bash function
String
Bash
Function
Return Value
ruby convert array into function arguments
Ruby
Arrays
Function
Arguments
How would I skip optional arguments in a function call?
Php
Function
Parameters
Default Value
Optional Parameters
Auto generate function documentation in Visual Studio
Function
Visual Studio-2008
Header
Auto Generate
`new function()` with lower case "f" in JavaScript
Javascript
Function
Object
Instantiation
Nested function in C
C
Function
Nested
Dynamic function name in javascript?
Javascript
Function
How do I immediately execute an anonymous function in PHP?
Php
Javascript
Function
Are PHP functions case sensitive?
Php
Function
Case Sensitive
Forward function declarations in a Bash or a Shell script?
Bash
Function
Sh
Forward Declaration
How to check whether optional function parameter is set
Python
Function
Optional Parameters
Delayed function calls
C#
Function
Delay
Why do some functions have underscores "__" before and after the function name?
Python
Function
Methods
Double Underscore
Are eval() and new Function() the same thing?
Javascript
Function
Optimization
Eval
Bash: pass a function as parameter
Bash
Function
Callback
Parameter Passing
How do I write a function that returns another function?
Python
Function
Functional Programming
Currying
Difference between return and exit in Bash functions
Bash
Function
Return Value
Return
Exit
Function chaining in Python
Python
Function
Python 3.x
What is the equivalent of "!=" in Excel VBA?
Excel
Vba
Function
Syntax
Inequality
Call Python function from JavaScript code
Javascript
Python
Function
Integration
Python - Passing a function into another function
Python
Function
First Class-Functions
SQL Server function to return minimum date (January 1, 1753)
Sql Server
Datetime
Function
Can I name a JavaScript function and execute it immediately?
Javascript
Function
JavaScript check if variable exists (is defined/initialized)
Javascript
Function
Variables
Initialization
Undefined
What is the scope of variables in JavaScript?
Javascript
Function
Variables
Scope
Var
Static function variables in Swift
Function
Static
Swift
Declaring functions in JavaScript
Javascript
Syntax
Function
C# Store functions in a Dictionary
C#
Function
Pointers
Dictionary
Table name as a PostgreSQL function parameter
Function
Postgresql
Plpgsql
Dynamic Sql
Identifier
Deprecated: mysql_connect()
Php
Mysql
Function
Deprecated
Get a list/tuple/dict of the arguments passed to a function?
Python
Function
Arguments
What is the point of function pointers?
C++
C
Function
Pointers
C++ Faq
Function returning a lambda expression
C++
Function
C++11
Lambda
C++ callback using class member
C++
Function
Callback
Member
Overloaded functions in Python
Python
Function
Arguments
Overloading
Why use named function expressions?
Javascript
Function
Anonymous Function
Function Expression
Run function from the command line
Python
Function
Command Line
Return value in a Bash function
Bash
Function
Return Value
dplyr: "Error in n(): function should not be called directly"
R
Function
Plyr
Dplyr
Conflicting Libraries
Difference between function arguments declared with & and * in C++
C++
Function
Pointers
Pass by-Reference
Define default values for function arguments
Function
Lua
Classes vs. Functions
Class
Function
Oop
Why are my JavaScript function names clashing?
Javascript
Function
Is it possible to run function in a subprocess without threading or writing a separate file/script.
Python
Function
Subprocess
Popen
Python Multiprocessing
Is there a way to write a Bash function which aborts the whole execution, no matter how it is called?
Bash
Function
Exit
Subshell
PHP: Call to undefined function: simplexml_load_string()
Php
Xml
Function
Curl
Function with same name but different signature in derived class
C++
Function
Inheritance
Lookup
C++ Faq
PHP call_user_func vs. just calling function
Php
Function
C error: undefined reference to function, but it IS defined
C
Function
Linker Errors
Undefined Reference
How to get an object's methods?
Javascript
Function
Object
Methods
Get
Javascript: Call a function after specific time period
Javascript
Function
Timer
Get values from an object in JavaScript
Javascript
Function
Object
What is the difference between a language construct and a "built-in" function in PHP?
Php
Function
Built In
Language Construct
Is there any native DLL export functions viewer?
Dll
Function
Native
Dllimport
Calling a javascript function recursively
Javascript
Function
Recursion
Function Expression
Javascript - Apply trim function to each string in an array
Javascript
Function
Trim
How does the Math.max.apply() work?
Javascript
Function
Apply
Giving my function access to outside variable
Php
Function
Scope
Static vs class functions/variables in Swift classes?
Function
Class
Swift
Variables
Static
How to pass a vector to a function?
C++
Function
Vector
"Life-time" of a string literal in C
C
Function
Local Variables
String Literals
Lifetime
Which is more efficient: Return a value vs. Pass by reference?
C++
Performance
Function
Return Value
Pass by-Reference
How to write a Rust function that takes an iterator?
Function
Iterator
Rust
Functions vs Stored Procedures
Sql
Sql Server
Database
Function
Stored Procedures
Python: return the index of the first element of a list which makes a passed function true
Python
List
Function
Indexing
Exporting a function in shell
Function
Shell
Export
Null parameter checking in C#
C#
Function
Null
jQuery 'if .change() or .keyup()'
Javascript
Jquery
Function
Recursive function to generate multidimensional array from database result
Php
Arrays
Function
Recursion
Is there still a use for inline?
C++
Function
Methods
Inline
Deprecated
Function parameter with colon
Python
Function
JavaScript function aliasing doesn't seem to work
Javascript
Function
Closures
Alias
Why is the size of a function in C always 1 byte?
C
Function
Size
Sizeof
Why does my recursive function return None?
Python
Function
Recursion
Return
Execute a shell function with timeout
Bash
Function
Shell
Timeout
C function syntax, parameter types declared after parameter list
C
Syntax
Function
jQuery Plugin: Adding Callback functionality
Jquery
Function
Callback
What Does Using A Single Pipe '|' In A Function Argument Do?
Php
Function
Arguments
Bitwise Operators
Best way to check function arguments?
Python
Function
Arguments
Why can a const member function modify a static data member?
C++
Function
C++11
Static
Constants
jQuery Button.click() event is triggered twice
Jquery
Function
Button
Click
Is it safe to return a struct in C or C++?
C++
C
Function
Struct
Return Type
Is it pythonic for a function to return multiple values?
Python
Function
Return Value
Multiple Return-Values
How to make a Clojure function take a variable number of parameters?
Function
Clojure
Lisp
Procedure
Anonymous function shorthand
Function
Clojure
Anonymous Function
Function names in C++: Capitalize or not?
C++
Function
Coding Style
Naming Conventions
How to get the original variable name of variable passed to a function
Python
Function
Variables
Passing a dictionary to a function as keyword parameters
Python
Function
Dictionary
Parameters
Keyword
In MATLAB, can I have a script and a function definition in the same file?
File
Matlab
Function
How do I test if optional arguments are supplied or not?
Vba
Function
Vb6
Arguments
Optional Arguments
Passing all arguments of a function to another function
Python
Function
Arguments
Is there a PHP function for swapping the values of two variables?
Php
Function
Swap
When to Overload the Comma Operator?
C++
Function
Operator Overloading
What is the proper way to test a Bash function's return value?
Bash
Function
Syntax
How to show zsh function definition (like bash "type myfunc")?
Bash
Function
Zsh
Definition
Pass multiple optional parameters to a C# function
C#
Function
Parameters
How to access the elements of a function's return array?
Php
Arrays
Function
How to Call a Function inside a Render in React/Jsx
Javascript
Reactjs
Function
Render
Jsx
How is the square root function implemented?
Function
Math
Square Root
Fastest JavaScript summation
Javascript
Arrays
Function
How to define custom sort function in javascript?
Javascript
Function
Sorting
Autocomplete
Simplest/cleanest way to implement a singleton in JavaScript
Javascript
Function
Design Patterns
Singleton
Whats the difference of functions and methods in Go?
Function
Methods
Go
Using a dictionary to select function to execute
Python
Function
Dictionary
Inspect
How do I store javascript functions in a queue for them to be executed eventually
Javascript
Function
Timeout
Queue
what does a php function return by default?
Php
Function
Variables
Language Design
Alternative (K&R) C syntax for function declaration versus prototypes
C
Function
Function Declaration
Kernighan and-Ritchie
Function Definition
Ruby - How to select some characters from string
Ruby
String
Function
Char
Substr
__attribute__ in GNU C
Function
Gcc
Declaration
Stopping a JavaScript function when a certain condition is met
Javascript
Function
Exit
Breadcrumbs
Is there an overhead when nesting functions in Python?
Python
Function
Nested
Calling a Javascript Function from Console
Javascript
Function
Google Chrome-Devtools
Developer Tools
How to use Functions of another File in Dart / Flutter?
Function
Methods
Dart
Flutter
Retrieving the name of the current function in PHP
Php
Function
C Programming: malloc() inside another function
C
Function
Pointers
Malloc
How do Python functions handle the types of parameters that you pass in?
Python
Function
Types
Parameters
Is it possible to overwrite a function in PHP
Php
Function
Redeclaration
C++ inline member function in .cpp file
C++
Function
Inline
Member
PHP function use variable from outside
Php
Function
Variables
Return multiple values from function
Function
Return
Dart
Writing your own square root function
Algorithm
Function
Math
Square Root
Newtons Method
R: 2 functions with the same name in 2 different packages
Function
R
Packages
Conflict
Function inside a function.?
Php
Function
Can you alter a Javascript function after declaring it?
Javascript
Function
Oop
Wrapper
Modifier
How to print Docstring of python function from inside the function itself?
Python
Function
Printing
Docstring
Javascript - Storing function in object - bad practice?
Javascript
Function
Object
What is the function of an asterisk before a function name?
C
Function
Pointers
How to test if a parameter is provided to a function?
Javascript
Function
Node.js Spawn vs. Execute
Javascript
node.js
Function
Spawn
What is double exclamation mark in C#?
C#
Function
Syntax
Method Signature
C# 11.0
What is the difference between function and procedure in PL/SQL?
Sql
Stored Procedures
Function
Plsql
How do you call a function defined in .bashrc from the shell?
Bash
Function
Shell
Function with variable number of arguments
C#
Java
Function
JavaScript Adding an ID attribute to another created Element
Javascript
Html
Function
Dom
Setattribute
A lambda's return type can be deduced by the return value, so why can't a function's?
C++
Function
C++11
Lambda
Auto
Difference between language sql and language plpgsql in PostgreSQL functions
Sql
Function
Postgresql
Stored Procedures
Plpgsql
Charts.js Formatting Y Axis with both Currency and Thousands Separator
Javascript
Function
chart.js
How to raise an error within a MySQL function
Mysql
Function
Exception
Stored Procedures
Override a function call in C
C
Function
Linker
Overriding
Can you store a function in a PHP array?
Php
Arrays
Function
UnboundLocalError with nested function scopes
Python
Function
How to find a value in an array and remove it by using PHP array functions?
Php
Arrays
Function
Built In
Test if an argument of a function is set or not in R
R
Function
Variables
Variable Assignment
Isset
Build a Call graph in python including modules and functions?
Python
Function
Static
Module
Call Graph
Passing function as a parameter in java
Java
Android
Function
Interface
Parameters
What is the use of const overloading in C++?
C++
Function
Constants
Overloading
Is the return type part of the function signature?
C++
Function
Given an array of arguments, how do I send those arguments to a particular function in Ruby?
Ruby
Arrays
Function
Arguments
How to explain callbacks in plain english? How are they different from calling one function from another function?
Function
Callback
Language Agnostic
Terminology
Using :: (scope resolution operator) in C++
C++
Function
Namespaces
Calling javascript function in iframe
Javascript
Function
Iframe
Function for 'does matrix contain value X?'
Matlab
Function
Matrix
Floating Point
What in layman's terms is a Recursive Function using PHP
Php
Function
Recursion
Round up to nearest multiple of five in PHP
Php
Function
Rounding
How can I create a Java method that accepts a variable number of arguments?
Java
Function
Methods
Overloading
js function to get filename from url
Javascript
Function
Declaring functions in JSP?
Jsp
Function
Why C# is not allowing non-member functions like C++
C#
.Net
Function
C++ Cli
Clr
In python is there a way to check if a function is a "generator function" before calling it?
Python
Function
Generator
Coroutine
Can I add a function to enums in Java?
Java
Function
Enums
How to deal with name/value pairs of function arguments in MATLAB
Function
Matlab
Arguments
Function Parameter
Name Value
Javascript function to get the difference between two numbers
Javascript
Function
switch "transfer of control bypasses initialization of:" when calling a function
C++
Function
Switch Statement
What is the advantage of the new print function in Python 3.x over the Python 2 print statement?
Python
Function
Printing
Python 3.x
Python 2.x
Returning from a void function
C
Function
Void
What is the difference between a function, an unbound method and a bound method?
Python
Oop
Function
Methods
How to convert a lambda to an std::function using templates
C++
Function
Templates
C++11
Lambda
How to add an object to an array
Javascript
Jquery
Arrays
Function
Object
What does "[*]" (star modifier) mean in C?
C
Function
Parameters
Variable Length-Array
PHP echo vs PHP short echo tags
Php
Function
Echo
Pageload
How to call function that takes an argument in a Django template?
Python
Django
Function
Variables
Django Templates
strcmp equivelant for integers (intcmp) in PHP
Php
Function
Integer
Compare
How do I call a function inside of another function?
Javascript
Function
Are idempotent functions the same as pure functions?
Function
Idempotent
Pure Function
Add two functions to window.onload
Javascript
Function
How to bypass python function definition with decorator?
Python
Python 3.x
Function
Python Decorators
How much overhead is there in calling a function in C++?
C++
Function
Overhead
Calling a JavaScript function returned from an Ajax response
Javascript
Ajax
Function
Optional args in MATLAB functions
Function
Math
Matlab
Parameters
Arguments
How do I avoid implicit conversions on non-constructing functions?
C++
Function
Casting
Implicit Conversion
includes() not working in all browsers
Javascript
Function
Internet Explorer
Methods
Microsoft Edge
How do I modify a pointer that has been passed into a function in C?
C
Function
Pointers
Parameters
Pass by-Value
Dynamic static method call in PHP?
Php
Class
Function
Dynamic
readelf-like tool for Mac OS X?
C
Macos
Function
Symbols
Adding custom properties to a function
Javascript
Function
Oop
Object
Custom Properties
Assigning a value to single underscore _ in Python/IPython interpreter
Python
Function
Ipython
Interpreter
Read Eval-Print-Loop
firebase deploy --only functions overrides existing functions
Function
Firebase
Firebase Tools
Google Cloud-Functions
What makes a C standard library function dangerous, and what is the alternative?
C
Function
When to use a Class vs. Function in PHP
Php
Function
Class
How do I create a Python function with optional arguments?
Python
Function
Arguments
Optional Arguments
Is there any way a C/C++ program can crash before main()?
C++
C
Function
Crash
Multiple excerpt lengths in wordpress
Php
Wordpress
Function
How to yield results from a nested generator function?
Python
Function
Nested
Generator
Yield
Python: dynamically create function at runtime
Python
Function
Runtime
Decomposing tuples in function arguments
Scala
Function
Tuples
How do I find the difference between two values without knowing which is larger?
Python
Function
Numbers
Distance
Get week day name from a given month, day and year individually in SQL Server
Sql
Sql Server
Function
Date
In VB.NET, can I mark a function as deprecated?
vb.net
Function
Deprecated
How to execute a function asynchronously every 60 seconds in Python?
Python
Function
Asynchronous
Call
Ignore python multiple return value
Python
Function
Tuples
Getting a function name as a string
R
Function
What's the point of const void?
C++
C
Function
Constants
Void
python: how to get information about a function?
Python
Function
Methods
The reason to use JS .call() method?
Javascript
Function
Methods
This
Lexical environment and function scope
Javascript
Function
How to pass an operator to a python function?
Python
Function
Python 2.7
How can I handle the warning of file_get_contents() function in PHP?
Php
Function
Exception
Warnings
File Get-Contents
How can I call a function within a class?
Python
Class
Function
Call
How does one ignore unexpected keyword arguments passed to a function?
Python
Function
Dictionary
How to run a function in jquery
Jquery
Function
Calling a user defined function in jQuery
Jquery
Function
Function Calls
User Defined
Using multiple .cpp files in c++ program?
C++
Function
Vanilla JavaScript version of jQuery .click
Javascript
Jquery
Function
Event Handling
how do I compare 2 functions in javascript
Javascript
Function
How can I call PHP functions by JavaScript?
Javascript
Php
Function
undefined reference when calling inline function
C
Function
Undefined
Inline
Header Files
Is there a way to provide named parameters in a function call in JavaScript?
Javascript
Function
Optional Parameters
Named Parameters
this inside function
Javascript
Function
This
Function pointer as parameter
C++
Function
Pointers
Function Pointers
Return value from nested function in Javascript
Javascript
Function
Nested
Return Value
Return
Uses for Haskell id function
Function
Haskell
Functional Programming
Why is std::function not equality comparable?
C++
Function
Boost
C++11
Tr1
Autoloader for functions
Php
Function
Class
Autoloader
Nine ways to define a method in Scala?
Scala
Methods
Function
What does the exclamation mark do before the function?
Javascript
Function
Two nested click events with angularjs
Javascript
Function
Angularjs
Passing an array as a function parameter in JavaScript
Javascript
Arrays
Function
Call
PHP append one array to another (not array_push or +)
Php
Arrays
Function
How to alias a function in PHP?
Php
Function
Alias
Must declare function prototype in C?
C
Function
Function Prototypes
Is there a way to get the current function from within the current function?
Javascript
Function
MySQL CREATE FUNCTION Syntax
Mysql
Function
Nested functions in Java
Java
Function
Nested
I have a string whose content is a function name, how to refer to the corresponding function in Python?
Python
String
Function
String Evaluation
Javascript 'colon' for labeling anonymous functions?
Javascript
Function
Anonymous Function
Object Literal
Colon
Call a function named in a string variable in C
C
Function
Are abstract methods and pure virtual functions the same thing?
C++
Function
Virtual
Pass object to javascript function
Function
Javascript Objects
Javascript
How to calculate an angle from points?
Javascript
Function
Coordinates
Angle
Why memory functions such as memset, memchr... are in string.h, but not in stdlib.h with another mem functions?
C
Function
Memory
Header
Is it possible to create a function dynamically, during runtime in C++?
C++
Function
Dynamic
Runtime
POSIX-Compliant Way to Scope Variables to a Function in a Shell Script
Function
Shell
Variables
Scope
Posix
Can bash show a function's definition?
Bash
Function
Difference between scalar, table-valued, and aggregate functions in SQL server?
Sql Server
Function
Tsql
Aggregate Functions
Sqlclr
What does ((void (*)())buf)(); mean?
C
Function
Pointers
Function Pointers
Calling a function in jQuery with click()
Jquery
Function
How do nested functions work in Python?
Python
Function
Nested
Closures
Nested Function
How do I write a RGB color value in JavaScript?
Javascript
Function
Coding Style
Colors
Rgb
How can I create C header files
C
Function
Header Files
Modular
Function default arguments and named values
Function
R
array_map not working in classes
Php
Arrays
Class
Function
Array Map
Using an attribute of the current class instance as a default value for method's parameter
Python
Function
Default
Default Parameters
Changing address contained by pointer using function
C
Function
Pointers
How to invoke function from external .c file in C?
C
Function
External
How to function call using 'this' inside forEach loop
Javascript
Function
Foreach
This
Extension methods in Python
Python
Function
Extension Methods
functions inside or outside jquery document ready
Javascript
Jquery
Function
Scope
How to cin values into a vector
C++
Function
Templates
Vector
Cin
Selecting entire function definition in Vim
Function
Vim
Select
Definition
Can I define a function inside a C structure?
C
Function
Structure
Define local function in JavaScript: use var or not?
Javascript
Function
Closures
Declaration
Is there a way to pass auto as an argument in C++?
C++
Function
Arguments
Auto
Difference between void main and int main in C/C++?
C++
C
Function
Standards
Main
newid() inside sql server function
Sql Server
Function
Newid
Can I set a default argument from a previous argument?
C++
Function
Arguments
Creating methods with infinite parameters?
C#
.Net
Function
Overloading
Why pass by const reference instead of by value?
C++
Function
Import statement inside class/function definition - is it a good idea?
Python
Function
Class
Import
How to return a result from a VBA function
Excel
Vba
Function
Return
Return Value
strdup() - what does it do in C?
C
Function
Strdup
Check if number is decimal
Php
Function
Decimal
Excel function to make SQL-like queries on worksheet data?
Sql
Excel
Vba
Function
Passing struct to function
C
Function
Struct
What does a semicolon do?
Python
Function
If Statement
Syntax
Break
How to assign a null value to a function type variable in Kotlin?
Function
Function Pointers
Kotlin
How to pass variable length arguments as arguments on another function in Golang?
Function
Go
Variadic Functions