[mercury-users] query

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Mar 18 17:52:08 AEDT 2003


On 18-Mar-2003, Michael Day <mikeday at yeslogic.com> wrote:
> 
> > I'd be interested in trying unqualified names in the tutorial as an
> > experiment.  I know I often consciously use redundant module qualifiers
> > in my code, but it would be interesting to see if new users would come
> > to that decision even if all the tutorial code used unqualified names.
> 
> Just to provide a data point: we never use module qualifiers except where
> necessary for disambiguation. This has not appeared to cause any problems 
> to date, and nested modules make dropping redundant qualifiers even more 
> compelling (as they waste more space).

The advantage of using module qualifiers is that it (IMHO) makes it
easier for readers of the code.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list