HackerTube English?
主题探索 / 字幕对照

把副作用集中起来,让其余行为更容易推理

Overwatch 的 ECS 讲解指出主要行为副作用集中在一个调用侧;Bernhardt 则把决策留给函数式核心,并由命令式外壳处理数据库和邮件。合读可看到两种架构都通过明确副作用边界,降低理解和测试时需要追踪的交互范围。

沿同一来源继续阅读

对照原文

all major behavioral side effects are localized to that call side
Overwatch Gameplay Architecture and Netcode · ▶ 18:20–18:26
an imperative shell that surrounds the functional core.
Ruby Conf 12 - Boundaries by Gary Bernhardt · ▶ 14:48–14:54

ECS 的系统调用组织与函数式核心/命令式外壳不是同一种模式;不能据此认为所有副作用都应放进单一函数或单一文件。