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

Chapter 3 Item 12 翻译建议 #147

Open
Yan-yongsheng opened this issue Apr 12, 2022 · 1 comment
Open

Chapter 3 Item 12 翻译建议 #147

Yan-yongsheng opened this issue Apr 12, 2022 · 1 comment

Comments

@Yan-yongsheng
Copy link

Technical discussion or constructive comments(技术讨论或建议的详细描述):

When practical, the toString method should return all of the interesting information contained in the object。
当实际使用时,toString 方法应该返回对象中包含的所有有趣信息;
A particularly annoying penalty for failing to include all of an object’s interesting information in its string representation is test failure reports that look like this:
如果没有在字符串表示中包含所有对象的有趣信息,那么一个特别恼人的惩罚就是测试失败报告,如下所示:

建议:interesting 翻译为值得(引起/需要)关注的或者重要的会更恰当一些,也更好理解。

以及Chapter 2 Item 8
该规范不仅不能保证终结器或清洁剂能及时运行;它并不能保证它们能运行。

存在错别字。

@Yan-yongsheng
Copy link
Author

Chapter 3 Item 12
If you change the representation in a future release, you’ll break their code and data, and they will yowl.
如果你在将来的版本中更改了表示形式,你将破坏它们的代码和数据,它们将发出大量的消息

应该改为:他们会崩溃的

或许我理解错了,但是不太像是“它们将发出大量的消息”

ghoultf added a commit to ghoultf/Effective-Java-3rd-edition-Chinese-English-bilingual that referenced this issue Jun 15, 2023
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