Ian Hickson wrote:

On Sat, 1 Jul 2006, Andrew Fedoniouk wrote:
In prototype based languages it is almost impossible to implement 'with' effectively in the given notation.

ctx.moveTo(0,0).lineTo(10,10);

is more effective. In some circumstances - in times.

Why is it more effective for JS?

see
http://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/


Reply via email to