Skip to content

Conversation

@kbyyd24
Copy link

@kbyyd24 kbyyd24 commented Dec 26, 2025

  • I solemnly swear that this is all original content of which I am the original author
  • Pull request title is prepended with [language/lang-code] (example [python/fr] for Python in French or [java] for multiple Java translations)
  • Pull request touches only one file (or a set of logically related files with similar changes made)
  • Content changes are aimed at intermediate to experienced programmers (this is a poor format for explaining fundamental programming concepts)
  • If you've changed any part of the YAML Frontmatter, make sure it is formatted according to CONTRIBUTING.md

Description of the changes

  • Remove an analogy of Java
    • The original content is 类似java中的塑型, which means similar to 塑形 in java. But there is no terminology called 塑形 in Java.
  • Correct an analogy of Java
    • The original content is 类似java中的序列化, which means similar to serialization in java. But serialization is a very abstract and more complex concept. The toString() method in Java is closer to the example String().
  • Fix a wrong translation
    • The original translation 用make来声明一个slice means use make to declare a slice. This doesn't explain the example correctly and is not the same with the English version Same make function used earlier to make a slice.
    • The new translation means Initialize a slice with make as in the previous example, which removes ambiguity.

@imba-tjd
Copy link
Collaborator

我搜了一下,好像有 塑形 这种说法,不过感觉现在一般就说 类型转换 了

@kbyyd24
Copy link
Author

kbyyd24 commented Dec 27, 2025

我搜了一下,好像有 塑形 这种说法,不过感觉现在一般就说 类型转换 了

哦,我搜错了,搜成 塑形 了。搜索 塑型 确实能够搜到,确实表达的是 类型转换 的意思,不过不是什么官方术语。那我把原来这个类比加回来好了,改成 类型转换

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

Successfully merging this pull request may close these issues.

2 participants