http://www.adobe.com/devnet/flash/articles/as_bestpractices.html

check the archives or search flashcoders through google
http://muzakdeezign.com/flashcoders/
http://muzakdeezign.com/flashcoders/?q=best%20practices
http://muzakdeezign.com/flashcoders/?q=AS2%20best%20practices
http://muzakdeezign.com/flashcoders/?q=OOP%20best%20practices

Muzak

----- Original Message ----- 
From: "Jon Bennett" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, October 11, 2006 1:53 AM
Subject: Re: [Flashcoders] Moving to AS2, array always undefined


>> A bad practice most likely, but not technically wrong.  I do see it in
>> text books from time to time.  I was just mentioning it as a case where
>> "this" *would* be needed as opposed to speaking in absolutes.
>>
>> In practice, you're right and I try not to name any parameters the same
>> as a field name to avoid "this" confusion.  Don't tell anyone, but
>> sometimes I don't even use "this". :)
>
> ok - some interesting points here. could someone clarify for me
> please, whether I should be using this in my classes or not! It's
> really just a habit I've been in to do so.
>
> Also, what's the current naming convention? It used to be to add a
> _suffix to each item, to trigger the code hints (and help
> readability), but from the posts above, it looks like people are
> prefering to use a suffic preceeding, is it just personal preference
> or is there some best practice here.
>
> Thanks!
>
> jon
> ps: I'm enjoying getting my feet wet with AS2 atm :)
>
> -- 
>
>
> jon bennett


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to