gettingstarted
[Top] [All Lists]

RE: views on reusable code?

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: RE: views on reusable code?
From: "Dixon, Tom" <dixont at Jostens dot com>
Date: Sat, 30 Apr 2005 10:41:25 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
Thread-index: AcVNmTvlNmfIX46dSqqOmpdAZk8uLgAAaxgA
Thread-topic: views on reusable code?
Why not create a method with the same code written once and pass the
appropriate variable to it.
 

-----Original Message-----
From: gettingstarted-bounces at lists dot realsoftware dot com
[mailto:gettingstarted-bounces at lists dot realsoftware dot com] On Behalf Of
Eirik Karlsen
Sent: Saturday, April 30, 2005 10:28 AM
To: Getting Started
Subject: views on reusable code?

In my app there is a configuration window with a tab panel. This tab
panel has 4 tabs, and each tab has a number of controls,  a window and a
dialog, and a number of input / output variables associated with it. The
total code for is about 500 lines.

Now the ONLY thing that differs between the 4 tabs is the names of the
variables, controls, and windows....and the name differ by only one or
two letters.

Is it feasible to reuse all this code..?


--
*******************************************
VISIT MY HOME PAGE:
<http://home.online.no/~eikarlse/index.htm>
LAST UPDATED: 23/08/2003
*******************************************
Regards
Eirik Karlsen


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>