RE: [flexcoders] Flex2: getters, setters and function literals

2006-05-01 Thread Gordon Smith
: Friday, April 28, 2006 6:41 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2: getters, setters and function literals On Fri, Apr 28, 2006 at 01:09:59PM -0700, Gordon Smith wrote: I suppose this is perhaps a religious issue, but I think dynamic objects also hurt programmer

Re: [flexcoders] Flex2: getters, setters and function literals

2006-04-28 Thread Dion Mendel
On Thu, Apr 27, 2006 at 03:08:20PM -0700, Gordon Smith wrote: Sorry, you can't dynamically add a getter/setter in AS3. In general, we recommend using non-dynamic classes when possible because they have better performance. What's your use case for wanting dynamic addition of

RE: [flexcoders] Flex2: getters, setters and function literals

2006-04-28 Thread Gordon Smith
something with the resulting 'undefined' value. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dion Mendel Sent: Friday, April 28, 2006 3:14 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2: getters, setters and function

Re: [flexcoders] Flex2: getters, setters and function literals

2006-04-28 Thread Dion Mendel
On Fri, Apr 28, 2006 at 01:09:59PM -0700, Gordon Smith wrote: I suppose this is perhaps a religious issue, but I think dynamic objects also hurt programmer efficiency. To give an example, the project I am currently working on is using a Ruby on Rails backend and a Flex frontend. The backend

RE: [flexcoders] Flex2: getters, setters and function literals

2006-04-27 Thread Gordon Smith
Sorry, you can't dynamically add a getter/setter in AS3. In general, we recommend using non-dynamic classes when possible because they have better performance. What's your use case for wanting dynamic addition of getter/setters? - Gordon -Original Message- From: