Sunday, April 23, 2006

Re-usable?

Now everyone is nodding agreement with the above law, but saying 'well, of course, we always knew that, we're not stupid you know!' So why do we never ask as our number one question 'why was this developed, where has it been used, who used it, why did they need to, what is it good at?' (OK, more than one question then).

Object Orientation uses the concept of classes which can be pre-designed and re-used. However, designing classes that have all the functionality required for any given use in the future is very difficult, too difficult to expect it to be achieved in 'average' developments. No, classes are best designed when all their potential use is already known - oops - I think this kind of defeats the object (!) of the exercise. In fact classes are at their very best when the are handling fixed, but complex, interfaces such as those found in Windows application, with mice, keyboards, files, etc. Could it be that the very definite benefits that have been observed by the use of object orientation in building user interfaces may not be as obvious when applied to the world of general business application development?

1 Comments:

Blogger TerraKat said...

Code reuse is a great idea - in principle. The problems start when you actually try to do it. It is practically impossible to write a piece code that is abstract enough for it to be used perfectly for ever onwards - there is always bound to be an application for it in which it just doesn't quite work as intended. This is where someone has to be brave enough to say "actually, this code wasn't desinged to do this, we do need to write it from scratch"

12:57 AM  

Post a Comment

<< Home

Technology
Blog Top Sites Weblogs Directory SynBlog.com - Blog Directory View Terence Thorpe's profile on LinkedIn