DEV Community

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

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

Khali Sollis on September 25, 2026

How emotional dependency becomes embedded inside self-concept, why certain relationships begin influencing your decisions from the inside, and what...
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.

Collapse
 
mona_d_4222dda374567263b profile image
Mona D. •

Here's a comment you could post. It engages with the piece and adds something of your own:


The line that stuck with me: "People often think they are grieving only the relationship. Sometimes they are grieving the collapse of the psychological structure built around it." That explains why a breakup can feel less like losing someone and more like losing your bearings.

I also liked the distinction between a relationship supporting identity and replacing it. One test I'd add: notice whether you can still tell what you want when the other person isn't in the room. If your preferences only become clear once you've imagined their reaction, that's the pattern you're describing.

One caveat worth adding, though: some interdependence is healthy. Leaning on people, and being shaped by them, is part of close relationships. The problem is when there's no self left to negotiate with. So the goal isn't full self-sufficiency, but being able to stay connected without losing your own voice.

Thanks for closing the series with this one. The "additions, not operating systems" framing is a keeper.

Collapse
 
usernamevalid profile image
Shirley •

The most powerful part of this is the distinction between connection and internal dependence.

We can become so accustomed to factoring another person into every decision that their influence starts feeling like our own intuition. By the time we notice it, the question isn’t “What do they want?” anymore—it’s “What do I want when I’m no longer organizing myself around them?”

Real autonomy isn’t emotional detachment. It’s being able to love deeply without outsourcing your identity, self-worth, or decision-making to the relationship.

“People should complement your identity, not become the operating system running it” is a powerful way to frame it.

Collapse
 
kira_m_b9e617f21ee9b4fbe profile image
Jane Jones •

The “dependency injection” metaphor is remarkably effective because it captures something that can be difficult to recognize while you’re living inside it: another person can become part of your internal decision-making without ever explicitly asking for that role.

The section that really stood out to me was the shift from “What do I want?” to “What preserves the emotional system built around them?” That is such a precise description of how self-abandonment can become almost invisible. The person may not be controlling you at all. You can be doing the adaptation internally, automatically, because maintaining the connection has become more important than maintaining contact with yourself.

I also appreciated the distinction between healthy bonding and psychological merging. “Connection is healthiest when it enhances identity instead of consuming it” is a powerful framework. It avoids the trap of equating independence with emotional distance. Autonomy doesn't require loving less; it requires remaining present inside your own life while you love someone else.

The “dependency extraction” section is especially valuable because the solution isn't simply “leave the person” or “stop caring.” Rebuilding decision-making, reclaiming routines and goals, and learning to tolerate choices that aren't filtered through someone else's imagined reaction are much deeper forms of recovery.

And the idea that people can become “emotional infrastructure” is one I’ll be thinking about. Sometimes the most revealing sign of dependency isn't how much we miss someone. It's how many parts of ourselves seem unable to function without mentally consulting them.

The final idea brings the entire series together beautifully: relationships should complement identity, not become the operating system running it.

That is a powerful definition of self-authorship—and a very fitting way to close a series about the hidden architectures underneath “nice,” loving, and accommodating behavior.

Collapse
 
patjo profile image
Pat Johansen •

This is such a sharp and beautifully constructed piece. 🔥 The “dependency injection” metaphor is brilliant because it makes something deeply emotional suddenly visible as a kind of internal architecture.

A few ideas really stayed with me:

🔹 “You stop simply loving the person. You start organizing yourself around them.” — That distinction is devastatingly precise.

🔹 The progression from connection → emotional reliance → behavioral adaptation → identity integration → dependency stabilization captures how quietly this can happen. Nothing necessarily feels “wrong” while the system is being built.

🔹 The contrast between healthy bonding and psychological merging is especially powerful: closeness doesn't have to require the surrender of individuality.

🔹 And the idea of “reclaiming internal territory”—your routines, goals, emotional regulation, creativity, and future planning—is such a strong way to frame autonomy. Healing isn't about becoming cold; it's about becoming the author of your own internal systems again.

The line that may be the ultimate takeaway for me is: “Relationships should complement your identity. Not become the operating system running it.” 👏

What makes this especially effective is that you don't just describe the pattern—you map its architecture and then show the path toward rebuilding. It turns something that can feel vague and overwhelming into something observable, nameable, and actionable.

A remarkably cohesive ending to the series. The whole “behavioral anti-pattern” framework feels like a language for recognizing patterns that many people experience but struggle to articulate.

Collapse
 
normalnorma profile image
Norma •

This is a sharp and useful framing.

The software metaphor works unusually well here. Dependency injection captures something that standard relationship language often softens: certain people don’t just influence you from the outside — they gradually become part of the internal architecture that runs decision-making, self-worth, and emotional regulation. What begins as closeness can quietly turn into a system that no longer operates independently.

The most clarifying distinction is between bonding and psychological merging. One preserves selfhood while allowing connection. The other slowly reorganizes identity around access to the other person. That difference explains why some separations feel less like heartbreak and more like a structural collapse.

Thank you for naming the process so precisely. Reclaiming authorship over your own psychological architecture — without becoming cold — is the real work. Relationships should complement identity, not become the operating system running it.

Collapse
 
iamnaomi profile image
N A O M I •

The distinction between love that "allows connection while preserving selfhood" and dependency that "merges emotional stability with another person's presence" is the clearest line in the piece. The progression you map (connection, emotional reliance, behavioral adaptation, identity integration) shows why it's so hard to notice in the moment, since each step feels like intimacy rather than loss.

I also found the point about separation useful: people may think they're grieving only the relationship when they're also grieving the collapse of a psychological structure built around it. That explains why a breakup can feel like losing yourself, not just losing someone. Your fix, rebuilding internal decision-making by choosing without consulting their imagined reaction, is concrete and small enough to try. The closing idea that relationships should be additions, not operating systems, is a memorable way to put it.

The software metaphor works well across the whole series, and finishing with the full list of titles makes it easy for new readers to see the arc. Thank you for writing this.

Collapse
 
miadavid profile image
Mia David •

Outstanding essay Khali!

Collapse
 
anne_jacobs_ac166227aa92b profile image
anne jacobs •

Amazing essay Khali thank you

Collapse
 
cj_e49fbe4085948741f2f23d profile image
CJ •

Great article thank you so much for sharing here on DEV.to!