DEV Community

Cover image for Dependency Injection: How Some People Quietly Program Themselves Into Your Identity
Khali Sollis
Khali Sollis

Posted on

Dependency Injection: How Some People Quietly Program Themselves Into Your Identity

How emotional dependency becomes embedded inside self-concept, why certain relationships begin influencing your decisions from the inside, and what happens when another person slowly becomes part of your psychological operating system

Some relationships affect you externally.

Others go much deeper.

They quietly integrate themselves into your internal architecture.

At first, it feels harmless:

considering their opinion
adapting to their preferences
emotionally consulting them internally
imagining their reaction before making decisions

Over time, something more subtle happens.

You stop simply loving the person.

You start organizing yourself around them.

That was the realization that changed everything for me:

Certain people do not just enter your life.

They become embedded inside your identity infrastructure.

The Bug: Dependency Injection

In software architecture, dependency injection occurs when external components become integrated into a system’s internal functioning.

The system begins relying on those components to operate normally.

Emotionally, the same thing happens when another person becomes psychologically embedded into:

decision-making
self-worth
emotional regulation
identity stability
future orientation
internal validation systems

The self slowly stops operating independently.

The Integration Happens Gradually

This process rarely feels dangerous at first.

In fact, it often feels like intimacy.

You begin:

thinking through their perspective automatically
adjusting behavior around their preferences
filtering choices through their approval
imagining life outcomes based on their presence

Eventually, their psychological presence remains active even when they are physically absent.

That is where dependency deepens.

The Person Becomes an Internal Reference Point

One uncomfortable truth:

At some point, I stopped making certain decisions based on myself.

Instead, my mind automatically evaluated:

How would they react?
Would they approve?
Would this threaten the connection?
Would they still choose me?

Without realizing it, another person had become part of my internal operating logic.

Dependency Often Masquerades as Love

This distinction became critical.

Love:

allows connection while preserving selfhood

Dependency:

merges emotional stability with another person’s presence

One expands life.

The other quietly restructures identity around emotional access.

Why Dependency Injection Feels So Powerful

Because the nervous system associates attachment with safety.

Especially when someone becomes tied to:

emotional relief
belonging
identity reinforcement
validation
nervous system regulation

The brain begins integrating the person into survival processing.

Their presence starts feeling psychologically necessary.

The Internalization Process

The progression often looks like this:

connection
→ emotional reliance
→ behavioral adaptation
→ identity integration
→ dependency stabilization

The dangerous part is that the process feels emotionally meaningful while it is happening.

Sometimes even romantic.

The Self Slowly Becomes Negotiated

Dependency changes internal behavior quietly.

You start:

abandoning preferences
minimizing needs
reshaping routines
adjusting goals
suppressing authenticity

not because someone explicitly demanded it…

but because preserving the attachment becomes psychologically prioritized.

Why Separation Feels So Disorienting

Because dependency removal feels like identity disruption.

When someone deeply embeds into your internal systems, their absence affects:

emotional regulation
daily habits
future imagination
self-perception
nervous system stability

People often think they are grieving only the relationship.

Sometimes they are grieving the collapse of the psychological structure built around it.

The Difference Between Bonding and Psychological Merging

Healthy bonding:

creates closeness while maintaining autonomy

Dependency injection:

blurs the boundary between connection and identity

One preserves individuality.

The other slowly absorbs it.

The Most Dangerous Part

The most dangerous part is not emotional pain.

It is self-disconnection.

Eventually you stop asking:

What do I want?

And start asking:

What preserves the emotional system built around them?

That shift changes your entire relationship with yourself.

The Realization

Eventually, I stopped asking:

Why does losing this connection feel like losing myself?

And started asking:

How much of my identity became structurally dependent on this person’s presence?

That question exposed the architecture underneath the attachment completely.

The Fix: Dependency Extraction

Healing required more than emotional distance.

It required rebuilding independent internal systems.

Not coldness.

Autonomy.

  1. Rebuild Internal Decision-Making

I began practicing making choices without emotionally consulting:

their approval
their reaction
their preferences
their imagined perception

At first, it felt unnatural.

That discomfort revealed how deep the dependency had become.

  1. Separate Love From Psychological Reliance

Old model:

If someone matters deeply to me, my identity should naturally revolve around them.

Updated model:

Healthy connection supports identity. It should not replace it.

That distinction restored clarity.

  1. Reclaim Internal Territory

This part was critical.

I started reclaiming:

routines
goals
emotional regulation
creative focus
future planning

without organizing them around another person’s presence.

The nervous system slowly relearned self-sufficiency.

  1. Allow Relationships to Be Additions, Not Operating Systems

This became the new framework:

People can matter deeply without becoming:

your emotional infrastructure
your identity anchor
your source of self-worth
your primary nervous system regulator

Connection is healthiest when it enhances identity instead of consuming it.

What Changed

After identifying dependency injection patterns:

emotional autonomy increased
self-trust strengthened
relationships became clearer
identity stability improved
fear of abandonment decreased significantly

And most importantly:

I stopped confusing emotional merging with emotional depth.

Reframing Attachment

Old model:

The deeper the attachment, the more central they should become to my identity.

Updated model:

Healthy attachment preserves individuality while allowing connection.

That distinction restored balance.

Closing the Series

This entire series began with one realization:

Many emotional struggles are not random.

They are systems.

Patterns.
Conditioning.
Behavioral loops.
Identity distortions.
Nervous system adaptations.

For years, I believed emotional exhaustion was simply part of being “good,” “loving,” “understanding,” or “available.”

It wasn’t.

Many of those behaviors were unexamined survival strategies running automatically underneath my personality.

This series was never about becoming cold.

It was about identifying the hidden architectures that quietly teach people to:

abandon themselves
over-function emotionally
confuse instability with love
mistake exhaustion for devotion
tolerate dynamics that slowly erase them

Awareness changes the system.

Not instantly.

But permanently.

Final Takeaway

Some people do not merely influence your emotions.

They quietly integrate themselves into your identity until your internal stability becomes partially dependent on their existence.

Healing begins when you reclaim authorship over your own psychological architecture.

Because relationships should complement your identity.

Not become the operating system running it.

Final Status
Behavioral anti-pattern audit: completed
Dependency injection vulnerabilities: identified
Self-authorship systems: restoring
Internal architecture ownership: returned
Series Complete: Behavioral Anti-Patterns
The Audit of the “Nice” Trap: A Documentation of Self-Erasure
Missing Boundary Checks: Why “Nice” Code Always Gets Exploited
Unbounded Processes: The Hidden Cost of Always Saying Yes
Deferred Execution: Why Avoiding “No” Creates Worse Outcomes
Infinite Approval Loops: Breaking the Need for External Validation
Caching Bad Data: Why We Keep Trusting Broken Patterns
Handling Exceptions That Aren’t Yours: The Trap of Emotional Over-Responsibility
Refactoring Identity: When “Being Nice” Becomes Technical Debt
No Rate Limiting: How Instant Availability Destroys Focus
Broken Access Control: Who Actually Deserves Your Time?
From Approval-Seeking to System Integrity: Shipping a New Version of Yourself
Recursive Loneliness: Why Some Attachments Feel Impossible to Exit
Emotional Cache Invalidation: Accepting That Someone Has Changed
Ghost Dependencies: The Relationships That Still Control You After They End
Phantom Notifications: Why Your Nervous System Still Waits for People Who Left
Emotional Memory Leaks: Why Old Relationships Keep Reappearing During Vulnerable Moments
Emotional Rollbacks: Why We Revert to Old Versions of Ourselves Around Certain People
Identity Drift: How We Slowly Abandon Ourselves to Keep Connections Alive
Approval Latency: Why Waiting for Validation Delays Your Entire Life
Emotional Deadlocks: When Two People Wait for Each Other to Change First
Dependency Injection: How Some People Quietly Program Themselves Into Your Identity

Top comments (2)

Collapse
 
wg2026 profile image
Walter Gilberg •

A few things that stood out to me:

"You stop simply loving the person. You start organizing yourself around them." — This is the clearest one-line distillation of the whole piece, and it's a genuinely useful diagnostic question to sit with: am I in relationship with someone, or has my internal operating system quietly been rebuilt around them?

"The dangerous part is that the process feels emotionally meaningful while it is happening. Sometimes even romantic." — This is the part I'd flag as the real insight. Most people can spot dependency once it's painful. Far fewer can spot it while it still feels like closeness, which is exactly when it's forming and exactly when it's hardest to interrupt.

"People often think they are grieving only the relationship. Sometimes they are grieving the collapse of the psychological structure built around it." — This reframes a lot of breakup pain that gets misattributed purely to missing the person, when part of what's actually happening is the disorientation of losing an entire internal reference system.

"Connection is healthiest when it enhances identity instead of consuming it." — Simple, but it's the actual test the piece offers: does this relationship add a room to the house, or did it become the foundation?

The software metaphor does a lot of work here, and it mostly earns its keep — "dependency injection" as a frame makes an abstract, hard-to-name psychological pattern feel concrete and nameable, which is often the first step to actually noticing it in yourself. I'd just gently note it's a metaphor, not a mechanism — the piece is describing something closer to attachment-related over-reliance and enmeshment than a literal technical process, and pairing this kind of self-audit with an actual therapist or counselor is worth considering if the "which decisions are mine vs. run through someone else's approval" pattern feels persistent rather than occasional.

Collapse
 
usernameinvalid profile image
Larry Z. •

The software metaphor works especially well here because dependency can become invisible precisely when it feels like intimacy. The most valuable insight is that autonomy doesn’t require caring less—it means being able to care deeply without outsourcing your decisions, self-worth, or identity. Reclaiming that internal authorship seems less about disconnecting from people and more about reconnecting with yourself.