Whatever happened to the Nested Function?
Anyone use nested functions... (that is to say a function defined within another function, which inturn is local and accessable only by that function in which it was defined, wow try saying that three times fast) and if so what for? I remember doing nested functions way back when, learning scope rules in Pascal, but I hardly ever see it applied to any extent these days. I guess the entire ideal behind the nested function has been swallowed up by OOP... anyways, anyone care to comment on nested functions?
March 09, 2001 09:00 AM
Nested functions were cool. I used to use them all the time during my Turbo Pascal / Tasm days. Closest thing to nested function declarations now is in Java. I don''t think many languages support them any more?!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement