[Zpt] Built-ins and Shadows
Todd Coram
todd@digicool.com
Fri, 2 Mar 2001 12:04:09 -0500
> Warnings are cool.
Warnings are warm, errors are hot; clean code is cool ;-)
Where the warnings go is an interesting problem. Is there a warning/error
log in Zope? Since editing may not always be done thru the edit form (maybe
thru webdav + golive or whatever), warning feedback may be difficult. Error
is easier (munge or annotate the rendered page).
> The problem with errors is that
> if a new builtin name is ever added, then existing code that
> happens to have
> already used that name suddenly becomes illegal "for no reason at
> all" -- and
> users hate that. The usual shadowing rules ensure that their
> code continues
> to work, albeit with new warnings; much friendlier.
What ever happened to the 'sys' prefix that was discussed?
-- todd