bearophile napisał: > What is the purpose of nested function declarations in D? Is it a good idea > to just disallow them?
1. Helper functions don't clutter the namespace. 2. Nested functions can access the outer function's stack frame. -- Tomek
bearophile napisał: > What is the purpose of nested function declarations in D? Is it a good idea > to just disallow them?
1. Helper functions don't clutter the namespace. 2. Nested functions can access the outer function's stack frame. -- Tomek