W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2006

[whatwg] Canvas 2d methods

From: Stefan Gössner <stefan@goessner.net>
Date: Sun, 02 Jul 2006 10:01:58 +0200
Message-ID: <44A77D76.7060507@goessner.net>
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/
Received on Sunday, 2 July 2006 01:01:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:36 GMT