Tight coupling - Deepstash

Tight coupling

Less coupling makes code easier to extend and maintain. Tight coupling makes code more rigid and brittle and more likely to break when changes are needed.

Coupling takes different forms: 

  • Subclass coupling is dependent on the implementation and hierarchy of the parent class.
  • Control dependencies. Code that tells its dependences what to do. If the control API of the dependency changes, the dependent code will break.
  • State shape dependencies. Code that only uses a subset of the data structure.
  • Event/message coupling. Code that communicates with other units via message passing, events, etc.

3

0 reads

CURATED FROM

IDEAS CURATED BY

jopineda

Illustrator

The idea is part of this collection:

Introduction to Web 3.0

Learn more about technologyandthefuture with this collection

The differences between Web 2.0 and Web 3.0

The future of the internet

Understanding the potential of Web 3.0

Related collections

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates