<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<title>JRNitre&#039;s Blog - [编程范式] DI 依赖管理与手动依赖注入 的评论</title>
<link>https://blog.atoery.cn/index.php/2026/04/07/174.html</link>
<atom:link href="https://blog.atoery.cn/index.php/feed/2026/04/07/174.html" rel="self" type="application/rss+xml" />
<language>zh-CN</language>
<description>为什么会写这篇文章在刚接触 DI 时，最容易混淆的不是语法，而是对象到底在什么时候被创建、依赖到底由谁来传。很多人之前写项目时，已经在使用“依赖注入”，只是方式是手动的。例如：在 main 中先...</description>
<lastBuildDate>Thu, 01 Jan 1970 08:00:00 +0800</lastBuildDate>
<pubDate>Thu, 01 Jan 1970 08:00:00 +0800</pubDate>
</channel>
</rss>