共 16 句 · 中英对照 · 对应本级 10 个目标词
开始练这一级 →Last year our small team shipped code with a quick progression.去年,我们这个小组还在用一次快速的「演进」就把代码发出去。 We fixed bugs fast and moved on.我们很快修好漏洞,然后就往下走。 A flip like that felt fast.那样的「翻转」看着简单。 We had no quantitative facts about our work.我们没有量过自己工作里「定量的」事实。
Then one evening a senior developer showed us a chart.后来有一天晚上,一位资深开发者给我们看了一张图表。 Every quick fix caused two new bugs on average.每一次快速的修补平均会带来两个新漏洞。 So each small transaction cost the team more time.所以每一笔小小的「事务」事后都让团队花掉更多时间。 He asked us to try one substitution: write a test first.他让我们试一种「替换」:先写一个短测试。
That was not revolutionary, but the room went quiet.那并不「革命性」,但屋里安静了下来。 We called our old style qualitative, since we only asked whether code felt right.我们把原来的做法叫作「定性的」,因为我们只问代码感觉对不对。 At first the new habit was not spontaneous.一开始,这个新习惯并不「自发」。 We checked every line against a list.我们照着「清单」检查每一行。
After two weeks, that work became a progressive transformation, and our mentor's sponsorship gave us more time.两周之后,这些额外的活儿变成了「渐进的」转变,我们导师的「支持」也给了我们更多时间。 Now we show the chart with every change, so transparency is normal.现在我们每次改动都配上那张图表,所以「透明度」成了常态。 A new developer joined us and read our code without help.一位新开发者加入进来,不用别人帮忙就读懂了我们的代码。 We do not write faster, yet we roll back less.我们写得不快,但回退得少了。
数据来源:NGSL(CC BY-SA 4.0)· ECDICT(MIT License)。短文为本项目为练习编写的配套材料。