[Flashcoders] Do getters and setters add any size to a file

2006-03-07 Thread Manuel Saint-Victor
I understand that the Actionscript class files are compiled into bytecode but I have not had enough experience to know whether or not all of this object oriented refactoring that I am doing to my current project is going to make it bulkier. I read somewhere about the different increases in file

Re: [Flashcoders] Do getters and setters add any size to a file

2006-03-07 Thread Scott Fanetti
using getters and setters adds no noticeable overhead to your application. Yes the functions add a few bytes, but after compile the difference is undetectable. The benefit you get from proper encapsulation greatly outweighs the slight increase in development time it and script size you get

Re: [Flashcoders] Do getters and setters add any size to a file

2006-03-07 Thread ryanm
In particular doe a bunch of getters and setters contribute to end weight such that if a client wants the lightest outcome they might be a factor or is it negligable. In general, code changes are not going to add noticable weight to the bytecode. Your library assets will usually be the bulk

Re: [Flashcoders] Do getters and setters add any size to a file

2006-03-07 Thread Manuel Saint-Victor
Thank you. That's good to know because I was worried that with all of my preaching to people about getters and setters that I might hand over a nice fat file and look extra dumb! Mani On 3/7/06, Scott Fanetti [EMAIL PROTECTED] wrote: using getters and setters adds no noticeable overhead to