473,809 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

coupling definition?

What's a good definition for coupling? I see that term used alot.

crichmon
Jul 22 '05 #1
5 2725
"crichmon" <cr********@hot mail.com> wrote in message
news:nk******** ********@newsre ad3.news.atl.ea rthlink.net...
What's a good definition for coupling?
http://tinyurl.com/57xum
I see that term used alot.


http://tinyurl.com/5g4rc
Now what is your question about C++?

-Mike
Jul 22 '05 #2
Mike Wahler <mk******@mkwah ler.net> wrote in message
news:pA******** ********@newsre ad1.news.pas.ea rthlink.net...
"crichmon" <cr********@hot mail.com> wrote in message
news:nk******** ********@newsre ad3.news.atl.ea rthlink.net...
What's a good definition for coupling?


http://tinyurl.com/57xum
I see that term used alot.


http://tinyurl.com/5g4rc
Now what is your question about C++?


Please don't pollute the newsgroup with childish crap such as those two
links. The word has a meaning in the general field covered here. If your
post is an attempt at humor it is a pathetic attempt indeed.

To the OP.

http://en.wikipedia.org/wiki/Couplin...er_programming

Osmium
Jul 22 '05 #3
osmium wrote:
Mike Wahler <mk******@mkwah ler.net> wrote in message
news:pA******** ********@newsre ad1.news.pas.ea rthlink.net...
"crichmon" <cr********@hot mail.com> wrote in message
news:nk******** ********@newsre ad3.news.atl.ea rthlink.net...
> What's a good definition for coupling?


http://tinyurl.com/57xum
> I see that term used alot.


http://tinyurl.com/5g4rc
Now what is your question about C++?


Please don't pollute the newsgroup with childish crap such as those
two links. The word has a meaning in the general field covered here.


The "general fiel covered here" (I'd call it "topic") is C++ as defined
by ISO-14882, which doesn't define the term "coupling".
But you should stop talking about "childish crap" as long as you think
it's l33t or whatever to post using a pseudonym.

Jul 22 '05 #4
crichmon wrote:
What's a good definition for coupling? I see that term used alot.

crichmon


I note that a link to a definition has already been posted (by 'osmium').

Here is what Bjarne Stroustrup has to say about coupling in "The Design and
Evolution of C++":-

QUOTE
By decreasing the coupling between a user and an implementer, abstract
classes provide an answer to people complaining about long compile times
and also serve library providers, who must worry about the impact on users
of changes to a library implementation.
UNQUOTE

Stroustrup also covers this topic in "The C++ Programming Language - 3rd
Edition", section 25.3.

I think I have also seen it mentioned in one of Scott Meyers' books.

To anyone who thinks that discussion of coupling is off topic for this
newsgroup, I would say that if one accepts the FAQ as authoritative on what
is / is not on topic, and interprets its wording strictly, then perhaps you
are right. However, my view is that such topics should be of interest to
anyone who wants to use C+ seriously, and I think it would be a pity to
exclude discussion.

--
Chris Gordon-Smith
London
Homepage: http://graffiti.virgin.net/c.gordon-smith/
Email Address: Please see my Home Page
Jul 22 '05 #5
Chris Gordon-Smith wrote:
Here is what Bjarne Stroustrup has to say about coupling in "The Design and Evolution of C++":-

QUOTE
By decreasing the coupling between a user and an implementer, abstract
classes provide an answer to people complaining about long compile times
and also serve library providers, who must worry about the impact on users
of changes to a library implementation.
UNQUOTE
Look up the "Dependency Inversion Principle".

C++ enables very large scale applications by matching logical decoupling
(interface-oriented programming) with physical decoupling (forward class
declarations, pure virtual functions, bald references & pointers, etc.).
To anyone who thinks that discussion of coupling is off topic for this
newsgroup, I would say that if one accepts the FAQ as authoritative on what is / is not on topic, and interprets its wording strictly, then perhaps you are right. However, my view is that such topics should be of interest to
anyone who wants to use C+ seriously, and I think it would be a pity to
exclude discussion.


Screeching about topicality is often an excuse for "I can't think of a C++
angle for your post."

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #6

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

Similar topics

4
1499
by: dover | last post by:
It has be often mentioned that the coupling among objects should be avoided. What're the major cases that objects are closed coupled? How to avoid such cases? Many thanks!
4
3325
by: Alex Stevens | last post by:
Well, It's 4:10 on Friday Afternoon and I am now in a state of turmoil....... I've just spoken with a trainer (who's opinion would be in far higher regard than mine), and he's just told me that the way I expected to write an tiered application is tight-coupled and should be written loosely coupled.......... I am kind of new to multi-tier application programming, although I have good experience of classes, and objects.
19
2904
by: Charles Law | last post by:
Take a solution with a project hierarchy along the lines of an n-tier system, so that we have a data layer, business layer and presentation layer. The presentation layer is coupled to the business layer, and the business layer is coupled to the data layer. So far so good. Suppose the data layer raises an event, and it passes Me (the sender) as an object, and e (MyEventArgs, a descendent of EventArgs) to the layer above (the business...
1
3256
by: Sush | last post by:
Can anybody explain me what is control and data coupling with respect to C code? Also, how to do control and data coupling analysis?
3
1947
by: cgineste | last post by:
/* Hello everyone, I am trying to impose some strong coupling between different objects. This, to a large extent, directly challenge the principle of encapsulation in C++. Note that the form of dependencies that I am trying to devise is between instances of classes, not between classes themselves. Hence, I have already looked into issues of multiple inheritance, friends and
8
1762
by: Charles Law | last post by:
This is a sort of pattern question, but relating to how components are coupled in a three-tier system. I have a presentation layer, business layer and data access layer, the first is the EXE, whilst the other two are implemented as DLLs. The EXE also references a DLL that contains various user controls, one of which is based on a grid control. The coupling is currently like this:
2
11927
by: Ronald S. Cook | last post by:
In trying to figure out how to make function MedicineClass.ApplyMedicinePriceChanges perform better, I ran Code Analysis and got the following: ****************************************************************************************** Warning 1677 CA1506 : Microsoft.Maintainability : 'MedicineClass.ApplyMedicinePriceChanges(ProgramMedicinePrice, String, Guid, Decimal)' is coupled with 34 different types from 9...
0
10635
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10378
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10115
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9198
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7653
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3013
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.