In computer programming, a nested function (or nested procedure/subroutine) is a function which is lexically (textually) encapsulated within another function. It can only be called by the enclosing function or by functions directly or indirectly nested within the same enclosing function. In other words, the scope of the nested function is limited by the enclosing function. The nesting is theoretically possible to any level of depth, although only a few levels are normally used in practice.
Read more about Nested Function: An Example, Purpose, Languages, Implementation
Famous quotes containing the words nested and/or function:
“A million peoplemanners free and superbopen
voiceshospitalitythe most courageous and friendly young men,
City of hurried and sparkling waters! city of spires and masts!
City nested in bays! my city!”
—Walt Whitman (18191892)
“The art of living is to function in society without doing violence to ones own needs or to the needs of others. The art of mothering is to teach the art of living to children.”
—Elaine Heffner (20th century)