473,396 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Parameterization - Generalisation

Hi,

Could anyone give me some hints how I can evaluate the reuse potential of a
program related to the parameterisation and generalisation? - I think it
concerns at the one hand the interfaces...

Has anybody ideas?:((

regards

rob

Oct 21 '05 #1
4 1171


Nobody an idea??:(

regards

"robert" wrote:
Hi,

Could anyone give me some hints how I can evaluate the reuse potential of a
program related to the parameterisation and generalisation? - I think it
concerns at the one hand the interfaces...

Has anybody ideas?:((

regards

rob

Oct 22 '05 #2
> Could anyone give me some hints how I can evaluate the reuse potential of
a
program related to the parameterisation and generalisation? - I think it
concerns at the one hand the interfaces...


Hi Rob,

Your post isn't clear about what you are looking for. If you have a portion
of an application that you want to re-use, OK... tell us what your goal is:
do you want to reuse an assembly? do you want to take an entire application
and modify it for new uses? do you want to take an application and replace
it's prior version in place? do you want to pull bits of code out of an
application and use that code in another application? do you want to expose
the capabilities of an application so that the capability can be re-used by
another application over an integration interface (RPC or Message)?

If you want to know if the code is "good," along the lines of OO principles,
you can evaluate the code according to basic principles and rate the
performance of the original developers on that basis. A good list of
principles (from Robert Martin) exists as http://butunclebob.com

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
Oct 22 '05 #3
Hello,

Oh, it was a principal questions evaluating the reuse potential of any
application. I read in an article (I do not know the source any longer.) that
a factor is if there are many or few parameters regarding the interfaces and
if there are generic or specific types referring to the interfaces of an
application. But I do not know how I should interpret this in the right
way...?:((

regards

rob
"Nick Malik [Microsoft]" wrote:
Could anyone give me some hints how I can evaluate the reuse potential of
a
program related to the parameterisation and generalisation? - I think it
concerns at the one hand the interfaces...


Hi Rob,

Your post isn't clear about what you are looking for. If you have a portion
of an application that you want to re-use, OK... tell us what your goal is:
do you want to reuse an assembly? do you want to take an entire application
and modify it for new uses? do you want to take an application and replace
it's prior version in place? do you want to pull bits of code out of an
application and use that code in another application? do you want to expose
the capabilities of an application so that the capability can be re-used by
another application over an integration interface (RPC or Message)?

If you want to know if the code is "good," along the lines of OO principles,
you can evaluate the code according to basic principles and rate the
performance of the original developers on that basis. A good list of
principles (from Robert Martin) exists as http://butunclebob.com

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--

Oct 22 '05 #4
Hello Rob,

In general, an interface can be coupled to a type if that type is used as a
parameter or return type in the interface. Therefore, if one of the types
that your interface exposes, either as a parameter or as a returned type, is
a sealed type, then you have an interface that is not open for extension.
Technically, this means that the interface cannot ultimately demonstrate the
open-closed principle (that an object is open for extension but closed for
modification).

Note that most of the intrinsic types in .Net are sealed types, including
String. Personally, I find this irritating because, in my opinion, a URL is
a specialized string (for example) but it cannot be expressed as such.
Therefore, most of our interfaces suffer in some sense or another from this
kind of pernicious coupling.

As far as coupling to a specific or a generic type: technically any type
that is not sealed can be a generic type. However, the intention is to say
that binding to an abstract type or another interface is, on the surface,
"better" because any of the classes that implement the interface have
flexibility about what concrete type to return.

I'll be honest: I don't find this last bit of argument all that compelling,
and I would judge the other principles, as well as a clean use of patterns,
to be a better approach than evaluating a design solely on the basis of
coupling to an interface.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"robert" <ro****@discussions.microsoft.com> wrote in message
news:33**********************************@microsof t.com...
Hello,

Oh, it was a principal questions evaluating the reuse potential of any
application. I read in an article (I do not know the source any longer.)
that
a factor is if there are many or few parameters regarding the interfaces
and
if there are generic or specific types referring to the interfaces of an
application. But I do not know how I should interpret this in the right
way...?:((

regards

rob
"Nick Malik [Microsoft]" wrote:
> Could anyone give me some hints how I can evaluate the reuse potential
> of
> a
> program related to the parameterisation and generalisation? - I think
> it
> concerns at the one hand the interfaces...


Hi Rob,

Your post isn't clear about what you are looking for. If you have a
portion
of an application that you want to re-use, OK... tell us what your goal
is:
do you want to reuse an assembly? do you want to take an entire
application
and modify it for new uses? do you want to take an application and
replace
it's prior version in place? do you want to pull bits of code out of an
application and use that code in another application? do you want to
expose
the capabilities of an application so that the capability can be re-used
by
another application over an integration interface (RPC or Message)?

If you want to know if the code is "good," along the lines of OO
principles,
you can evaluate the code according to basic principles and rate the
performance of the original developers on that basis. A good list of
principles (from Robert Martin) exists as http://butunclebob.com

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--

Oct 26 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Paul Morrow | last post by:
I'm hoping that someone can explain why I get the following exception. When I execute the code... ###################################### class Parent(object): class Foo(object): baz = 'hello...
2
by: Anthony Abbot | last post by:
Hi I have a requirement to use the Application Center Test (part of Visual Studio.Net Enterprise architect) program, to simulate loading on my Web servers. Does anyone know if it is any good? I...
4
by: robert | last post by:
Hi, Could anyone give me some hints how I can evaluate the reuse potential of a program related to the parameterisation and generalisation? - I think it concerns at the one hand the...
0
by: Sharath | last post by:
Quality Globe is Glad to Offer you the Fast Track course on Automation, QTP Basics and Advanced, and Quality Center Starting Date: June 4th, 2007 Timings: 10 AM to 3:30 PM Duration: 50 Hours ...
0
by: Sharath | last post by:
"Inspired" by the huge success of our first two automation fast track batches We are forced to start third fast track automation batch ...
0
by: Sharath | last post by:
We are glad to inform you that "Inspired" by the huge success of our first three automation fast track batches We are forced to start fourth fast track automation batch ...
0
by: Sharath | last post by:
We are glad to inform you that "Inspired" by the huge success of our first four automation fast track batches We are forced to start fifth fast track automation batch ...
1
by: adik1310 | last post by:
i make a project for improving fault analysis by using sequence components, and i use C++. now i have problem how to multiply that matrix with angle 30 degree but not affected diagonal matrix. i.e...
20
patjones
by: patjones | last post by:
Hi all: I've got one of those problems that I just can't get around, no matter what! In my code, I've got a SQL UPDATE like: strSaveLeave = "UPDATE tblLeave SET fldLeaveType =...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.