On Saturday, 28 December 2013 at 14:23:17 UTC, Hugo Florentino
wrote:
I didn't know D allowed importing modules from a function.
Now, my question is: what is the advantage of this over
importing the regular way?
Regards, Hugo
Several advantages:
1) It is easier to maintain the co
Hi,
A moment ago I was reading a reply to one of my posts, and noticed
Artur Skawina did this:
void main(string argv[]) {
import std.string;
...
I didn't know D allowed importing modules from a function.
Now, my question is: what is the advantage of this over importing the
regula