ctrl - space?

On Tue, Apr 8, 2008 at 10:55 AM, Scott Melby <[EMAIL PROTECTED]> wrote:

>   I am not a big fan of the "this", but it is the way I get flexbuilder to
>
> offer code assistance so I don't have to remember and type out the names
> of the methods and member variables of my class. So... it frequently
> ends up staying in the code. If there were a hot-key sequence that
> produced the same list I don't think I'd ever have "this" in my code
> again.
>
> Scott
>
> Scott Melby
> Founder, Fast Lane Software LLC
> http://www.fastlanesw.com
> http://blog.fastlanesw.com
>
>
> Bjorn Schultheiss wrote:
> > drop the 'this' unless its necessary to explain something..
> >
> >
> > On 08/04/2008, at 5:39 PM, Mike Anderson wrote:
> >
> >>
> >> Greetings All,
> >>
> >> Whenever I study code generated by seasoned programmers (i.e. all the
> >> Adobe people supporting Flex on this list) as well as countless
> >> others on this list, I notice that some use "this" when referencing
> >> local variables contained within a Class.
> >>
> >> The last thing I want to do here, is start a heated discussion
> >> regarding "best practices" for programming. My goal on a daily
> >> basis, is to better myself as a programmer, and I want to make sure
> >> that the code I create, conforms to certain standards.
> >>
> >> Could some of you please offer your 2 Cents regarding the
> >> advantages/disadvantages of using "this"? Just a quick example:
> >>
> >> package
> >> {
> >> public class myClass()
> >> {
> >> private var testVar:String;
> >>
> >> public function myClass( value:String )
> >> {
> >> this.testVar = value;
> >> // versus:
> >> testVar = value;
> >> }
> >> }
> >> }
> >>
> >> Thank you all so much in advance, for any help you can offer
> >> regarding this topic.
> >>
> >> Mike
> >>
> >>
> >>
> >
> >
>
>  
>



-- 
Giles Roadnight
http://giles.roadnight.name

Reply via email to