How to motivate use of OO?
- From: nassegris@xxxxxxxxx
- Date: 4 Jul 2006 00:50:42 -0700
Hello all!
Yesterday I found myself in a peculiar situation. One of my friends
runs an Internet site with education-related information. The site is
written in ASP (VBScript), but now he has to rewrite the code in C#
because the web hosting company he uses are dropping ASP support.... So
this guy invited me over to explain OO to him - I've been working as
systems developer and architect for a while now...
So I explained the basics of OO to him, encapsulation, inheritance,
that kind of basic concepts.... Then after a while he said that he has
a nice structure in his old ASP code, so he thought the best way would
be to just convert the old function libraries (files) to classes with
static methods. Naturally I was horrified and told him he really
shouldn't do it, but instead build an object model and redesign the
solution. And then he asked me: WHY? It works great as it is, wouldn't
a new design just make things worse? And I really had NO answer to that
why...
So now I'm asking you people, what should I tell him? Why should he use
objects instead of plain functions? Please give me some good arguments
to use!!!
.
- Follow-Ups:
- Re: How to motivate use of OO?
- From: Nick Malik [Microsoft]
- Re: How to motivate use of OO?
- From: Alvin Ryder
- Re: How to motivate use of OO?
- From: Robert Martin
- Re: How to motivate use of OO?
- From: Laurent Bossavit
- Re: How to motivate use of OO?
- From: Valmont
- Re: How to motivate use of OO?
- From: H. S. Lahman
- Re: How to motivate use of OO?
- From: Davor
- Re: How to motivate use of OO?
- From: Daniel T.
- Re: How to motivate use of OO?
- From: frebe73
- Re: How to motivate use of OO?
- From: Ed Kirwan
- Re: How to motivate use of OO?
- Prev by Date: Re: (OT) Re: Object identity
- Next by Date: Re: Object identity
- Previous by thread: Re: Simula (Was: The wisdom of the object mentors)
- Next by thread: Re: How to motivate use of OO?
- Index(es):
Relevant Pages
|