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
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: 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