Author Topic: Introducing Component Cohesion/Coupling Digraphs  (Read 2242 times)

Offline DoubleX

  • Trained Member
  • *
  • Posts: 19
  • LV: 4
  • Gender: Male
  • Just a nameless weakling
    • View Profile
Introducing Component Cohesion/Coupling Digraphs
« on: June 25, 2016, 04:10:20 PM »
This post aims to cover the basic knowledge on Component Cohesion/Coupling Digraphs(Com Coh/Cou Digraph, same below). Subsequent replies will demonstrate some practical applications in some plugins.

You're assumed to have a basic knowledge on:
1. Block diagram
2. Cohesion
3. Coupling
4. Digraphs

Component Diagram
(click to show/hide)

Cohesion Diagram
(click to show/hide)

Coupling Digraph
(click to show/hide)

Com Coh/Cou Digraph
(click to show/hide)

(click to show/hide)

That's all for now. As mentioned, I'll use some plugins to demonstrate some practical applications in the subsequent replies.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20015
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Introducing Component Cohesion/Coupling Digraphs
« Reply #1 on: June 25, 2016, 04:35:51 PM »
This is a fantastic post! I remember how much it helped me (and still does) to consider cohesion during design of classes and methods. Probably one of the most powerful tools that helps you design a clean and unambiguous API. *stickies the topic*
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam

Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.