2 ms·
D nested functions are defined exactly like regular functions, including all attributes, parameter types, etc. There's nothing new to learn. My experience as a
by WalterBright 8y ago
D nested functions are defined exactly like regular functions, including all attributes, parameter types, etc. There's nothing new to learn.
My experience as a language designer is that syntax matters, and leveraging the users' existing knowledge is worthwhile.