I/O related question, and ini parsing

Dicebot public at dicebot.lv
Fri Dec 6 09:32:22 PST 2013


On Friday, 6 December 2013 at 16:56:29 UTC, bearophile wrote:
> Mineko:
>
>> https://github.com/MinekoRox/Breaker-3D-Game-Engine
>
> Notes:
> - Usually in D imports are at the top (after module name and 
> module ddoc).

I think it is a bad practice that should be discouraged. Moving 
as much imports as possible into local scope has lot of practical 
benefits, primarily maintenance and compilation times.

OP still has them global though, just in weird place, that is 
unusual for sure :)


More information about the Digitalmars-d-learn mailing list