Palindromes
Meta via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Dec 3 16:50:17 PST 2015
On Friday, 4 December 2015 at 00:26:23 UTC, Jim Barnett wrote:
> On Friday, 4 December 2015 at 00:23:45 UTC, Jim Barnett wrote:
>> The `import` statement inside the `for`-loop kind of smells to
>> me.
>>
>
> Sorry, inside the `while` loop
In D it's considered idiomatic, but it can also cause some very
hard to detect errors from time to time... I hate it for this
reason and never do it in my own code.
More information about the Digitalmars-d-learn
mailing list