How to motivate use of OO?



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!!!

.



Relevant Pages

  • Re: How to motivate use of OO?
    ... because the web hosting company he uses are dropping ASP support.... ... So I explained the basics of OO to him, encapsulation, inheritance, ... but instead build an object model and redesign the ...
    (comp.object)
  • Re: How to motivate use of OO?
    ... runs an Internet site with education-related information. ... because the web hosting company he uses are dropping ASP support.... ... OO is for managing complexity, ... One of my friends has a program that he wrote using assembly language, ...
    (comp.object)
  • Re: How to motivate use of OO?
    ... One of my friends ... runs an Internet site with education-related information. ... because the web hosting company he uses are dropping ASP support.... ... Ok it happens to use OOP but I'd keep the OO side secondary, ...
    (comp.object)
  • Re: How to motivate use of OO?
    ... runs an Internet site with education-related information. ... because the web hosting company he uses are dropping ASP support.... ... Sounds like your friend is not a professional programmer. ...
    (comp.object)
  • Re: Login Feilds.
    ... A LAN is not relevant to an internet site ... If you are on a Windows hosted server that supports ASP and Access see ...
    (microsoft.public.frontpage.client)