ListPod.net

Nested Functions (from Features that Make the D Programming Language Better than C++) History

Edit and save a previous revision to make it the current.

Rev. Content Modified Reason
0
Nested Functions — In D, one function can be nested inside another, allowing for better compartmentalization of code.  Although this can still be done in C++ with nested classes, D's approach is simpler.  Additionally, nested functions/classes in D can access their parent's scope.
74.130.145.192
Feb 27, 2010 11:16:am
Edit