groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] name clashings


From: Ralph Corderoy
Subject: Re: [Groff] name clashings
Date: Tue, 23 Oct 2001 17:58:59 +0100

Hi Bernd,

> > I think that a programmer has to know what he or she does...
> 
> You are right, but a problem remains. When a future groff version
> adds new commands your document might fail if your local command is
> used internally.
> 
> Python also allows to overwrite anything, but has namespaces to
> protect possible clashings. So how about a namespace facility in
> groff?

Python also has reserved words, e.g. `return', and doesn't allow them
to be overwritten.  It also has the same problem when introducing new
keywords, i.e. that existing code may be broken.  Discussion on this
point recently revolved around introducing `then'.

Cheers,


Ralph.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]