[whatwg] Canvas 2d methods

Stefan Gössner stefan at goessner.net
Sun Jul 2 01:01:58 PDT 2006


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/





More information about the whatwg mailing list