今日英语表达 1/30 · 阶段:开启 Issue。 文中的例句均为本文特意编写,并非摘自真实仓库的评论,其中的 Issue 编号和版本均为示例。
目录
一览
| 表达 | Happy to take a stab at this. |
| 含义 | 我来试一下(我来接手可以吗)。 |
| 适用场景 | Issue 评论、good first issue、Slack 频道 |
| 礼貌程度 | 一般。适合开发者之间轻松友好的语气。 |
1. 含义与语境
stab 的本意是“刺、戳”,但 take a stab at 或 have a stab at 在词典中作为习语收录,意为“尝试一下”。Merriam-Webster 将 have a stab at 释义为“尝试(某事)”,而 Oxford Learner's Dictionaries 则将该义项下的 stab 标注为非正式(informal)名词。
这个表达的核心不在于“我一定完美搞定”,而是带着一种“我来尝试一下”的谦逊语气。当你在一个初次接触的代码库中认领 Issue 时,它坦率地承认了结果尚不确定,但同时也明确传达了愿意尝试的意愿。前面的 Happy to 是 I'd be happy to 的缩写,增添了一种“乐意效劳”的亲切感。
如果直译成 “I will stab this issue”,听起来就像是“我要用刀刺这个 Issue”,非常奇怪。请务必使用 take a stab at ,与介词 at 连用。
站在维护者的角度,这句话传达了两个信息:这个人有意愿进行开发,而且因为事情还没最终敲定,如果方向不对请指出来。在像 Kubernetes 这样使用 Prow 机器人仓库中,通常会在评论中使用 /assign 命令来指定负责人。不过,外部贡献者是否可以自行分配任务因仓库而异,请先查阅 CONTRIBUTING 文档。
2. 例句
情境 1:在 good first issue 下评论时
Hi! I'm new to this repo, but I'd be happy to take a stab at this. Is anyone already working on it?
表明自己是第一次贡献,并顺便询问是否已经有人在处理,这是一种礼貌。
情境 2:维护者问“有人想试试吗?”时
Happy to take a stab at this. I'll start with the validation logic in the webhook and open a draft PR this week.
补充说明自己要从哪里入手、大概什么时候能出成果,这样更容易建立信任。
情境 3:在 Slack 频道中
If nobody's on it yet, I can take a stab at the docs fix for the backup plugin.
can take a stab at 也是同样的意思。If nobody's on it yet 意为“如果现在还没人处理的话”。
3. 类似表达与区别
- I'd like to work on this. 最稳妥、最中立。谦逊感虽然少了一点,但在任何地方用都不会出错。
- Can I give this a try? / Mind if I give this a shot? 意思差不多,但更加轻松。give it a shot 的口语色彩很浓。
- I'll take this. 简短而坚决。在团队内部说没问题,但在初次贡献的仓库里听起来可能会有点独断。
4. 韩国人常犯的错误
- Please kindly assign this issue to me. 同时使用 please 和 kindly 会显得礼貌过头,反而听起来像公事公办且十分生硬。
- 修改后的句子:Could you assign this to me? I'd be happy to take a stab at it.
- I will try my best to solve this issue. 这句话虽然没错,但读起来像考试答案。具体写出自己要做什么会更有说服力。
- 修改后的句子:I'd like to take a stab at this. My plan is to add a check in
Validate()and a unit test.
- 修改后的句子:I'd like to take a stab at this. My plan is to add a check in
- I want to take a stab this. 漏掉了 at。
- 修改后的句子:I want to take a stab at this.
5. 单句练习
请将以下韩语句子翻译成英文评论。建议先自己写写看,再与下方的参考答案进行对比。
如果现在还没有人处理的话,我来试一下。我会在本周末之前提交草稿 PR。
参考答案
If nobody's working on this yet, I'd be happy to take a stab at it. I'll open a draft PR by the end of the week.
by the end of the week 自然地翻译了“本周末之前”。而 this weekend 指的是周六和周日,意思会略有不同。
Titi 小贴士: 比起“我会完美解决”,一句“我来试试,计划是这样的”更能赢得维护者的信任。
参考资料
- Merriam-Webster, “have a stab at”: https://www.merriam-webster.com/dictionary/have a stab at
- Oxford Learner's Dictionaries, “stab”(名词): https://www.oxfordlearnersdictionaries.com/definition/english/stab_2
- Kubernetes 贡献指南,Pull Request Process(使用
/assign): https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md - Prow 命令帮助: https://prow.k8s.io/command-help