Import concerns revisited

Derek Parnell derek at psych.ward
Fri Jul 14 19:21:30 PDT 2006


On Sat, 15 Jul 2006 10:39:42 +1000, Rémy Mouëza  
<ray.jay.ay.moueza at DoNtSpAm.gmail.com> wrote:

> And what about the with keyword ?

Because we don't know what the 'with' is referring to ...

    import std.stdio as io;

    void main ()
    {
        with ( io )
        {
            writefln ( somedata );
        }
    }

Is the 'io' a prefix to 'writefln' or 'somedata'? How would the human  
reader know that?

-- 
Derek Parnell
Melbourne, Australia



More information about the Digitalmars-d mailing list