Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] declarednull: rename DECLARED to NULL



Bart Schaefer wrote:
> Since we resolved this down to arguing about internal names that are
> never visible to the user, IMO the primary remaining question is
> whether it's acceptable to make the user-visible behavior dependent on
> the POSIX_BUILTINS option.

It seems fairly self-contained and could have it's own option. typeset
isn't a builtin. posix compatibility options aren't really improvements
but someone might prefer this behaviour. But I don't have a strong
view - whatever you think is good.

> Perhaps the internal naming argument can be resolved by using
> PM_DEFAULTED (thus making it definitely a verb rather than "default"
> which could be interpreted as a noun).

I'm fine with that but I wouldn't especially object to DECLARED or
whatever it was before. Some other ideas:
ONLYDECLARED, DECLONLY, UNASSIGNED, INITIATED, CONCEIVED, SCOPED.

Was there anything else outstanding like (t) output perhaps?
I don't feel strongly about either of these naming issues and would be
happy for this to move forward regardless of the outcome on them.

Oliver




Messages sorted by: Reverse Date, Date, Thread, Author