Subj : Re: "deprecated with statement usage" To : Martin Honnen From : Brendan Eich Date : Tue Oct 14 2003 11:56 am Martin Honnen wrote: > Adrian Herscu wrote: > >> Brendan Eich wrote: >> >>> Adrian Herscu wrote: >>> >>>> What is the story behind this warning: >>>> "deprecated with statement usage"? >>> >>> It's a strict warning you asked for (off by default), telling you to >>> stop using the deprecated with statement. >> >> Why it is deprecated? >> Is it safe to use it? >> Does it have any hidden (or hardly to anticipate) behaviors? >> It will be supported by next versions of ECMAScript262? > > ECMAScript edition 3 doesn't deprecate the with statement. And the > proposal for ECMAScript edition 4 also lists a with statement > http://www.mozilla.org/js/language/es4/core/statements.html#N-WithStatement That's nice, but we still deprecate with, in the hope of obsoleting it some day, for the reasons Igor gave. /be .