Top "Function-calls" questions

A function call is a line of code that executes a specific block of code defined as a function, that is, self-contained code that may optionally take arguments, defined for the purpose of code reuse.

How to maintain lists and dictionaries between function calls in Python?

I have a function. Inside that I'm maintainfing a dictionary of values. I want that dictionary to be maintained between …

python variables function-calls
Why is a function/method call in python expensive?

In this post, Guido van Rossum says that a function call may be expensive, but I do not understand why …

python profiling function-calls python-internals
Passing functions which have multiple return values as arguments in Python

So, Python functions can return multiple values. It struck me that it would be convenient (though a bit less readable) …

python return-value function-calls
Delayed Function Call

What's the most elegant way of performing a delayed (and therefore also asynchronous) functional call using C++11, lambdas and async? …

c++ asynchronous c++11 function-calls delayed-execution
Is there a way to call multiple functions on the same object with one line?

Just trying to tidy up a program and was wondering if anyone could feed me some syntax sugar with regard …

c++ method-chaining syntactic-sugar function-calls member-functions
PHP: call_user_func_array: pass by reference issue

The below function generates error when a function contains referenced arguments eg: function test(&$arg, &$arg2) { // some code } …

php function-calls