
好词典

源自中古法语 dépendance,最终来自拉丁语 dependere(悬挂于,依赖),由de-(向下)和pendere(悬挂)组成。
❶ 指事物或人之间的依赖关系,表示一方需要另一方的支持或存在才能正常运作或生存。
“The project has many dependencies on external libraries.”
(这个项目对外部库有许多依赖。)
“Children have natural dependencies on their parents.”
(孩子天生依赖父母。)
❶ 在政治或地理上,指一个地区或国家受另一个更强大实体控制或影响的状态。
“The island was once a dependency of the British Empire.”
(这个岛屿曾经是大英帝国的属地。)
“Colonial dependencies often struggled for independence.”
(殖民地属国常常为独立而斗争。)
dependency injection — 软件工程中的设计模式,指将依赖关系从代码内部转移到外部配置,提高灵活性和可测试性。
“Dependency injection makes the code more modular and easier to test.”
(依赖注入使代码更具模块化且更易于测试。)
dependency ratio — 人口统计学指标,指非劳动年龄人口与劳动年龄人口的比率,反映社会抚养负担。
“A high dependency ratio can strain a country's social security system.”
(高抚养比可能给国家的社会保障体系带来压力。)