[JSMentors] Re: Svar: ExtJS4: Everything is a String

2011-05-31 Thread zedshaws_eviltwin
On May 31, 6:30 am, Dmitry Pashkevich wrote: > > Using the string instead of the object/"class" > > reference definitely seems slower.  So what are the ostensible > benefits of using a string instead, and can the performance be improved > > It is slower but that affects only the initial load time

[JSMentors] Re: Svar: ExtJS4: Everything is a String

2011-05-31 Thread Dmitry Pashkevich
> Using the string instead of the object/"class" reference definitely seems slower. So what are the ostensible benefits of using a string instead, and can the performance be improved It is slower but that affects only the initial load time of your scripts. But in return you won't have to care

[JSMentors] Re: Svar: ExtJS4: Everything is a String

2011-05-30 Thread zedshaws_eviltwin
> > > The following I believe conforms to the goal as stated on > > jsmentors.com: "Review your article on JavaScript topic" > > To be honest - I don't see how the 'everything is a string' issue relates to > the how Ext4 uses the 'class' name to specify inheritance. This is a common > pattern share