From: Paul W. <pau...@sy...> - 2000-09-01 03:15:56
|
George Howlett wrote: > In message <200...@po...>, Brent Welch writes: > > : The other use of rename - call it "rename without behavior change" - > : is easy to justify. That has been used for code profiling, and for > : enhancing commands by intercepting them, doing something, then > : calling the original procedure. > > I can do all this now in the same namespace. Why a different > namespace? > > --gah Because if I am intercepting a procedure in a namespace that I am not responsible for, I cannot choose a name with total confidence that it will not collide with an existing name or one that may be used in future. Of course if you choose an identifier including your own name and social security number then you are reasonably safe, but I would not like to see the style guide advising this :) -- The TclCore mailing list is sponsored by Ajuba Solutions To unsubscribe: email tcl...@aj... with the word UNSUBSCRIBE as the subject. |