Ryan's Rambling

Tuesday, June 29, 2004

"With" is a bad thing

"with" is bad. Just to be clear I am not talking about the Delphi "with" statement although it certainly can be abused at times. The "with" that is always bad is the one implemented in the Microsoft JScript implementation as noted by one of the authors.

I find this quite interesting as, at first glance, I would consider it as something the script engine could use to improve performance. I know I don't have much code that would be reliant on this particular feature but I will certainly be reviewing and removing it where and when appropriate.

Labels:

0 Comments:

Post a Comment



Links to this post:

Create a Link

<< Home