HackerTube 中文?

Ruby Conf 12 - Boundaries by Gary Bernhardt

ConfreaksYouTube ↗

Further reading 7

Caption notes

Move decisions into a functional core and leave databases and mail in an imperative shell. Tests can then check decisions without mocks that might disagree with production objects.

Original passages · 5
if you don't stub the boundary correctly, your test will pass and your production system will be wrong.
Ruby Conf 12 - Boundaries by Gary Bernhardt · ▶ 4:14–4:25
the expired users class makes all the decisions and the sweeper class has all the dependencies.
Ruby Conf 12 - Boundaries by Gary Bernhardt · ▶ 15:28–15:38
Values in your system afford shifting process boundaries.
Ruby Conf 12 - Boundaries by Gary Bernhardt · ▶ 20:17–20:28
we now have values as boundaries.
Ruby Conf 12 - Boundaries by Gary Bernhardt · ▶ 10:17–10:24
an imperative shell that surrounds the functional core.
Ruby Conf 12 - Boundaries by Gary Bernhardt · ▶ 14:48–14:54

Hacker News comments

View original on HN ↗