Achieving code reuse

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Simon

    #1

    Achieving code reuse

    Hi all,



    I'm hoping that some of you clever chaps could offer me some advice on code
    reuse.



    You see, whenever I make applications, I typically only find very limited
    scope for code reuse. I also only find limited use for inheritance. For
    example, the various types of users that my system might have to deal with.



    I'm wondering if anyone could give me some tips on how to identify areas of
    my design that could be reusable, where I can use inheritance and where to
    use interfaces. I've read all the books that talk about why these things are
    important but very few of them show you how to do it in the real world.



    If anyone could point me to some online resources on this then that would be
    great. I could also do with a couple of books on how to spot reusable
    aspects of my designs and so on.



    Any help would be great



    Thanks all



    Simon



  • Cor Ligthert

    #2
    Re: Achieving code reuse

    Hi Simon,

    I think it is better to ask this question in a language group like
    microsoft.publi c.dotnet.langua ges.vb
    microsoft.publi c.dotnet.langua ges.csharp

    Than you get probably an answer fit on the language you use.

    Cor


    Comment

    • Simon

      #3
      Re: Achieving code reuse

      Oh Ok,

      The reason why I asked here is because its a subject that seems to cross
      language boundaries.

      I'll put it in C Sharp as well though

      Simon


      Comment

      • Peter van der Goes

        #4
        Re: Achieving code reuse


        "Simon" <sh856531@micro softs_free_emai l_service.com> wrote in message
        news:OQzO5GMQEH A.2468@TK2MSFTN GP11.phx.gbl...[color=blue]
        > Oh Ok,
        >
        > The reason why I asked here is because its a subject that seems to cross
        > language boundaries.
        >
        > I'll put it in C Sharp as well though
        >
        > Simon
        >
        >[/color]
        As a reminder, if you want your message to go to a *limited* number of
        groups, it's better to cross-post (put multiple groups in the Newsgroups
        field) rather than multi-post (put separate identical messages in different
        groups).
        FWIW, I found your post in the academic group.
        Cross-posting allows a reply in any group to be seen in all addressed
        groups, and saves you the trouble of monitoring multiple posts for answers.

        --
        Peter [MVP Visual Developer]
        Jack of all trades, master of none.


        Comment

        Working...