Subj : Re: "deprecated with statement usage" To : netscape.public.mozilla.jseng From : Igor Bukanov Date : Thu Oct 16 2003 04:14 pm I am curious, why in 1995 it was seems to be a good idea to have "with" in LiveScript? Was it TurboPascal or something? Brendan Eich wrote: > 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 > .