Object Oriented Programming Oversold!

Well, me and one of my developer friend were recently jolted for a rather supposedly abuse of OOP; frankly to an addiction of some sorta geeky-ness in the Flash Development front. A veteran Flash developer commented and suggested, “make more …

Well, me and one of my developer friend were recently jolted for a rather supposedly abuse of OOP; frankly to an addiction of some sorta geeky-ness in the Flash Development front. A veteran Flash developer commented and suggested, “make more use of the controller. You seem to take a lot of functionality out of the Controller and keep it in the View classes which respond to Model changes. In a way it’s the right way to program OOP but as far as making it a logical way for future developers to work with your code it makes it take 10 times as long to find functionality that could just as easy sit in a controller class.”

There are lots of truth in that looking from a Flash development perspective. Me and my friends have been recently, thus, thinking a lot on the way we work, code and structure applications and trying to mend our ways before it takes a back-stage and start living in our own castles. I know we will come out of the cocoon, learning from it and perfecting our future adventures; and yes, here is a rather apt article, “Object Oriented Programming Oversold!“, for this threatening moment.

While you are there, you may click the other topic for your reading pleasure “Why I Prefer Procedural/Relational Over OOP and “OOP versus Rational“.


Don't like it? There are lots of published articles, pick a random one.

oCricket

Brajeshwar posted this article on Sun, Apr 4th, 2004 at 7:23 pm
Categorized under Technology

Prev Article: How to Write Doc Comments for ActionScript

Next Article: Soople; simple way to Google the web


Possibly Related Articles

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 2 responses so far. You can follow any responses to this entry through the RSS feed. You can skip to the end and leave a response. Pinging is currently not allowed.

  1. [quote]
    make more use of the controller. You seem to take a lot of functionality out of the Controller and keep it in the View classes which respond to Model changes
    [/quote]

    the thing is the seperation between view and controller as in classic mvc/mvp isn’t really necessary, and especially in Flash/ActionScript… where your view and presenter/controller are essentially tied to the movieclip.

    i follow a Model/UI archi (as in java’s Swing), with the UI dealing with both controller/presenter and view methods, and I find that a ton simpler and cleaner.

    granted, there could be (and in fact are) special cases where the separation makes sense, but for the most part, the supposedly loose coupling created as a result of separating them is just a facade… you just create a set of extra (and i’m even tempted to say uneeded) methods, which are inherently tied to the original methods in the veiw, in the controller/presenter.

    as to the merits of OOP/OOA&D… well its been belabored enough; i’m yet to hear anything that even comes close to being an argument… everyone who dabbles in our world, uses OOP/OOA&D and knows what he/she is about knows it is effectively a primitive in itself used to achieve other ideas such as those espoused in design patterns and the like. you also know OOP makes broad use of procedural/relational ideas… how else could methods/behavior be realized? as programmers we have to deal with the idea of ‘primitives’.OOP allows us to redefine what primitives are on a per program/project basis.

    if u do real OOP/OOA&D, you know what you’ve got… and you know it’s good … if procedural works for you, by all means, stick with it… not only that, write such articles as “OOP Oversold”… don’t forget to add the exclamation mark… who knows? you might even generate a good following ;)
    eokyere

  2. Hi Brajeshwar,

    I’m also at the point where I want to establish ‘best prectices’ before I rewrite all of my stuff. And I’ve had my doubts about the utility of OOP in Flash. It seems to create a lot of extra work. But then again, AS1 had its drawbacks too. 

    Having read through the various articles you linked to (”OOP Oversold”, etc.), I was intrigued by the concept of ‘Table-Oriented Programming.’ But frankly, I have no idea how it would work in Flash. Do you?

    You mentioned that ‘you and your friends have been thinking a lot about the way you work, code and structure applications.’ What have you come up with? Does Table Oriented Programming factor into it? I’d love to hear your thoughts.

    Thanks for the thought-provoking articles.

    Jim Kremens
    jimkremens@reelscore.com

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

Fedora 10 Released

Let's talk history! Fedora was created in late 2003 as a Linux based Operating System which gives the users an admittance from anywhere in the world to the most up-to-date free and open source software ...28th Nov, 2008

Top 25 Hottest Indian Web Companies

Note: User submitted article. Personally, I would advise not to take this video seriously. 21st Nov, 2008

India gets ready for Free and Open Source Software

Over the years, FOSS.in has attracted thousands of participants, and the speaker roster reads like a "Who's Who" of FOSS contributors from across the world. FOSS.in is a non-commercial event organised and run entirely by FOSS ...21st Nov, 2008

Cooliris for the iPhone

Cooliris is the browser extension that revolutionizes the way you view media on your computer. It is now available as an application for your iPhone! Cooliris for the iPhone allows you to search the web ...22nd Oct, 2008

Adobe releases Flash Player 10 (Mac, Win & Linux)

Adobe have released the shipping version of Flash Player 10 for Mac, Windows and Linux. More about Flash Player 10 * About Flash Player 10 * Get Flash Player 10 (Official Release version 10.0.12.36) * Download Debug and Standalone ...15th Oct, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.
  • Ode to Apple Dedicated to Apple - Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.
  • Forum Oinam’s technical discussion forum where developers and designers can discuss all technical topics.
  • oCricket oCricket is about Cricket and people enthusiastic about it.
  • My Special Job My Special Job is a place where you can look for your weird necessities, strangely superb employees, when your need are more of those hackers, geeks, and ultimate rockstars in the Internet Technology.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • Downloads All downloads, Free and Open Source.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications. More about me.

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 903 Articles and 6,149 comments, contained within 21 categories and 1,384 tags.