Sponsor an article or a post on this blog. Guest Bloggers, Advertisers are welcome.

Corporate trends in ActionScript codes?

— By

We were reviewing few ActionScript codes of bunch of developers. It so happened while looking at a group of codes from about 4-5 developers; they looked very similar. We realized that

  • they don’t really love whitespace at all
  • have abusive usage of eval (it should be avoided as it is already deprecated)
  • lots of mc1.mc2.mc3.mc4. type of code (can be avoided by coding to interfaces and letting each entity perform its action and access it through a public API)

Well, they were all from the same corporate/company. So, we were thinking if corporate/company have a tendency or wavelength of coding habits, standards and (bad) practices. Anyway, we have to live with the fact that they can be trained and make them realize what we do and what we should do.

Brajeshwar

Brajeshwar believes in simplicity; pushes the envelop and envisions the betterment of usable and practical solutions.

More by Brajeshwar

  • http://www.nunomira.com/blog/ nuno mira

    hi,

    I've heard before about eval() being deprecated, but I can't find anything like that in the "documentation":http://livedocs.macromedia.com/flash/8/main/00001726.html.
    Why do you say that? Is there a link somewhere?
    Or is it AS3.0 that you have in mind when you say it's deprecated?

  • http://www.nunomira.com/blog/ nuno mira

    hi,

    I've heard before about eval() being deprecated, but I can't find anything like that in the "documentation":http://livedocs.macromedia.com/flash/8/main/00001726.html.
    Why do you say that? Is there a link somewhere?
    Or is it AS3.0 that you have in mind when you say it's deprecated?

  • http://www.brajeshwar.com/ Brajeshwar

    No AS 3.0, I am still talking about AS 2.0!

  • http://www.brajeshwar.com/ Brajeshwar

    No AS 3.0, I am still talking about AS 2.0!

  • http://kapoorabhishek.blogspot.com/ Abhishek

    Hi Brajeshwar,

    I remember having a chat with you and Abdul on similar lines ar Barcamp Bangalore. I still think moving on to newer trends, technologies and frontiers depend on one's personal interest and capabilities.

    I know a lot of people who work on AS 1.0 and are happy doing so because one, their job profile does not require very high end apps development, and second, their mindset is: When AS 1.0 is working for me why move to AS 2 .0 ?

    What I am trying to say here is that you cannot judge a corporate/company based on what code you find in their apps. I have worked with couple of world's best corporates and trend there is to continue what is happening. It takes up quite an effort for them to change. At time it took us one year to convince them that we need to upgrade Flash Player to use latest Flash capabilities.

    Having said that, I completely agree with you that this should not stop us from making an effort to change anything and everything for good.

    Best Regards,
    Abhishek Kapoor

  • http://kapoorabhishek.blogspot.com/ Abhishek

    Hi Brajeshwar,

    I remember having a chat with you and Abdul on similar lines ar Barcamp Bangalore. I still think moving on to newer trends, technologies and frontiers depend on one's personal interest and capabilities.

    I know a lot of people who work on AS 1.0 and are happy doing so because one, their job profile does not require very high end apps development, and second, their mindset is: When AS 1.0 is working for me why move to AS 2 .0 ?

    What I am trying to say here is that you cannot judge a corporate/company based on what code you find in their apps. I have worked with couple of world's best corporates and trend there is to continue what is happening. It takes up quite an effort for them to change. At time it took us one year to convince them that we need to upgrade Flash Player to use latest Flash capabilities.

    Having said that, I completely agree with you that this should not stop us from making an effort to change anything and everything for good.

    Best Regards,
    Abhishek Kapoor