I really like OOP, like Javascript style prototyping and look forward to use a combination of both in AS3. Having said that, I really was not impressed with AS2.0, mostly because of some of it's bugs that made it work in odd ways (mostly related to scoping issues, which are only partially solved with the Delegate Class).

So for me I usually prefer either AS1.0, or (I imagine, since I haven't gotten around to it yet) AS 3.0.

It's nice not to be locked into either OOP, or procedural, or typed or untyped. It seems like AS 3.0 will let me do the one I want to at the moment (without being buggy like AS 2.0). :-)

Kevin N.



James wrote:
I think that the mixture of prototype based and class based OOP is really interesting. I think prototype based object orientated languages (such as AS1.0 and JavaScript) are really pretty cool and you can do amazing things with them.

I read somewhere (sorry can't find link but it was on sitepoint.com written by Harry Fuecks) that one of the leading technical directors at google had produced a patterns book with most of the important patterns completely rewritten for prototype OO languages and many of them were far simpler and much less code.

of course there is always the trade off with any dynamic language - the less errors can be caught at 'compile time' the more you have to test the code using 'unit testing' at run time.

I take any comments like 'AS2 is crap' or 'PHP is crap' or whatever with a huge pinch of salt. Ask them 'Do you think people at Macromedia/Adobe don't know what they're doing?' usually these people have a computer science degree from Wolverhampton Poly or somesuch and couldn't get a job at Adobe or Macromedia if they promised to work for nothing and give foot massages to all the other developers whilst compiling.

James

At 15:12 25/08/2006, you wrote:
When it comes to OOP and Flash I think an individuals opinion comes from
their knowledge of OOP. Those that have used it swear by it and vice versa. This is pretty much how it is with everything. I remember at the release of AS2 there were quite a few developers that I had interactions with that were saying that AS2 was crap and not to use it. I wonder how well that worked
out for them :)

- darren


_______________________________________________
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