Call
A call is the invocation of a function or method.
Related concepts: FunctionMethodReturn
Closest Wikipedia entry: Subroutine
Misconceptions about Call47 documented Misconceptions
Check YourselfBaseCaseNotNeeded — Java
Recursive computations do not necessarily need a base caseBaseCaseSelfRecursive — Java
The base case of a structural recursion consists of a recursive self-callCallNotStaticallyChecked — Java
A method invocation on a reference of a type that does not have that method won't compileCallOnPrimitive — Java
One can invoke a method on primitive valuesCallRequiresVariable — Java
One needs a variable to invoke a methodCallWithoutFrame — Java
A method invocation does not necessarily allocate a stack frameCallerFrameContainsCalleeFormal — Java
Stack frame of caller includes variables for callee's formal parametersCannotChainMemberAccesses — Java
Member accesses cannot be chained togetherCannotChainMemberToConstructor — Java
Method calls or field accesses cannot be chained to a constructor invocationChainedMethodsNotCalledFromOutside — Java
Chained methods are all called on the object at the beginning of the chainConstructorAllocates — Java
The constructor allocates the objectConstructorReturnsObject — Java
Constructors need to return objectsConstructorWithoutNew — Java
One can write the constructor name, without new, to instantiate a classDeferredReturn — Java
A return statement in the middle of a method doesn't return immediatelyFrameIsClassInstance — Java
A stack frame is the same as an instance of a classNoCallOnStringLiteral — Java
One cannot invoke methods on String literalsNoInsideMethodCallInConstructor — Java
It is foirbidden to call other methods on the same object while inside its constructorNoStringToString — Java
One cannot invoke toString() on a StringObjectsMustBeNamed — Java
A variable is needed to instantiate an objectOutsideInMethodNesting — Java
Nested method calls are invoked outside inParenthesesOnlyIfArgument — Java
() are optional for method calls without argumentsRecursiveCallSiteNoReturn — Java
Tail-recursive call sites of non-void methods need no return statementReturnCall — Java
Return statements need () around the return valueReturnUnwindsMultipleFrames — Java
A return statement can unwind multiple call stack framesRightToLeftChaining — Java
Chained accesses are invoked from right to leftStackTraceIsCallHistory — Java
A stack trace is the sequence of previously called methodsStaticCallPolymorphic — Java
A static method call is dispatched polymorphically at runtime based on the argument typesStaticDispatch — Java
The method to be called is determined by the static typeSuperAlwaysHasParentheses — Java
To call a method on a superclass, parentheses are needed after the keyword superSuperNotFirstStatement — Java
super() can be called anywhere in the constructor of a subclassCallbackParametersInCaller — JavaScript
Parameters of a callback function may be written as parameters of the caller functionFunctionAsValueWithParentheses — JavaScript
To use a function as a value, one needs to have parentheses after its nameFunctionsCannotBeImmediatelyInvoked — JavaScript
Functions cannot be called in the expression in which they are definedNoFunctionCallsChaining — JavaScript
It is not allowed to chain function callsNumberOfParametersMatchArguments — JavaScript
Functions must be called with the same number of arguments as defined in their signatureCannotChainAttributeAccesses — Python
Attribute accesses cannot be chained togetherCannotChainAttributeToObjectInstantiation — Python
Method calls, and attribute accesses in general, cannot be chained to a constructor invocation.DeferredReturn — Python
A return statement in the middle of a function doesn't return immediatelyInitCreates — Python
__init__ must create a new objectInitReturnsObject — Python
__init__ needs to return an objectObjectsMustBeNamed — Python
A variable is needed to instantiate an objectOutsideInFunctionNesting — Python
Nested function calls are invoked outside inParenthesesOnlyIfArgument — Python
() are optional for function calls without argumentsReturnCall — Python
Return statements need () around the return valueReturnUnwindsMultipleFrames — Python
A return statement can unwind multiple call stack framesRightToLeftChaining — Python
Chained accesses are invoked from right to leftBaseCaseNotNeeded — Scratch
Recursive computations do not necessarily need a base case