"If you aren't you should"

Knee jerk reaction:
Nobody "should" use any pattern. They CAN use patterns if it benefits the project, benefits their mental health and provides for a better product. I probably read too much into it but pattern worship is useless, crippling and annoying.

- A


Per Bolmstedt wrote:

Anggie Bratadinata wrote:

This is the simple app I created a few days ago, about which I'd like to
have your expert advice on how to improve it or maybe how to code it in
a much better way.


1. Comment your code! It looks structured enough, so adding comments should be easy. If you use FDT, using Javadoc is straightforward: http://java.sun.com/j2se/javadoc/writingdoccomments/

2. Are you using the MVC pattern? It's not really clear from the code, but it looks somewhat like it. If you aren't you should; if you are, maybe you could make it more clear, by changing class names, adding an interface or two, or adding comments.

3. What's "hl.as"? It's an ill chosen file/class name.

-- Per
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

--

- Andreas Rønning

---------------------------------------
Flash guy
Rayon Visual Concepts, Oslo, Norway
---------------------------------------
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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