Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"为什么需要在运行时生成代码?"的一些翻译问题 #20

Open
OrezzerO opened this issue Dec 1, 2022 · 0 comments
Open

Comments

@OrezzerO
Copy link

OrezzerO commented Dec 1, 2022

1

原文

By the secure method's signature we suggested that the method can provide security for any type but in reality, we will throw an exception once we encounter something else then the known Service

译文

通过标注 secure 方法签名,我们建议该方法可以为任何类型提供安全性,但实际上,一旦遇到其他事情,我们将抛出一个异常,然后是已知的 Service。

应该为:
通过标注 secure 方法签名,我们 被告知(被建议) 该方法可以为任何类型提供安全性,但实际上,当我们遇到不是已知 Service 类的实例时, 会有异常抛出.

2

原文

Byte Buddy's primary focus lies on generating code with minimal runtime.

译文

Byte Buddy 的主要侧重点在于以最少的运行时生成代码。

应该为:

Byte Buddy 的主要侧重点在于生成最少运行时的代码. 

这个意思是说,Byte Buddy 还是要generate fast code,而不是 generating code fast. 英文原文和译文的意思正好反了.

看了第一篇文章,感觉还有好多不通顺的地方,逃去看英文版了....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant