On 7/30/2015 12:57 PM, H. S. Teoh via Digitalmars-d wrote:
Yeah, local imports are fast becoming my preferred D coding style, because it makes code portable -- if you move a function to a new module, you don't have to untangle its import dependencies if all imports are local. It's one of those little, overlooked things about D that contribute toward making it an awesome language.
Funny how my preferred D style of writing code is steadily diverging from C++ style :-)
