<p>The transcript is about computer science inheritance concept. And the English is written very poorly. It is not easy to understand in English, if you apply it to this kind of abstract computer science concepts nobody will understand.</p>
<blockquote>
<p>Inheritance allows for reuse of code where common behavior is defined once for a number of related classes and <strong>unique behavior is implemented only in classes where the behavior is different</strong>.</p>
<p>继承允许代码的重用，一些相关联的类中共同的行为只被定义一次，<strong>具有唯一性的行为只在类之间的行为不同的地方实现</strong>。</p>
</blockquote>
<p>I don't think the marked bold one correspond to each other very much.</p>
<p>I think the following will be easier for you to understand.</p>
<blockquote>
<p>一個類別(A)如果继承了另一類別(B)，被继承的(B)為子類別，继承類別(A)則為父類別。子类继承允许代码的重用，可使子类别具有父类别的各种属性和行为，而不需要再次编写相同的代码；唯子類別之独特行为須在本身行為中個別定義。</p>
</blockquote>
<p>I hope that you have the basic computer science or programming knowledge before you do this kind of translation, or it will be very difficult for you to translate the whole passage!  For reference you can take chinese wikipedia of 继承_(计算机科学).</p>
<p>Hope that helps!</p>

CC BY-SA 3.0
2012-04-19T02:11:01.383Z
As a native English speaker, I wouldn't say that the English is "written very poorly." It's dense but clear.
Alf
CC BY-SA 3.0
2012-04-08T04:59:22.203Z
2012-04-08T14:27:41.560Z
2020-06-17T09:50:11.587Z
dollarsempire
<p>继承实现了代码的重用，即相关的类的相同行为被实现一次，不同的行为被单独实现。</p>

CC BY-SA 3.0
2012-04-24T11:40:34.160Z
Hello after, and welcome to CL&U. Do you mind adding an english translation? If possible, don't limit yourself to a quick answer. Expand on it, it will become more valuable!
Alenanno
CC BY-SA 3.0
2012-04-26T14:01:08.850Z
Wow, impressive translation!
Mengdi Gao
CC BY-SA 3.0
2012-04-24T08:29:37.663Z
2012-04-24T08:29:37.663Z
after1990s
<p>"继承"可用来重用代码, 多个相关的类中的共同行为只定义一次, 不同的行为则在这些类中分别实现.</p>

<p>In computer English, some words are always translated to specified Chinese character.</p>

<p>define -- 定义
implement -- 实现
instantiate -- 实例化</p>

CC BY-SA 3.0
2015-08-08T15:57:31.977Z
2015-08-08T15:57:31.977Z
sfy
<p>I'm trying to say this in Chinese:</p>

<blockquote>
  <p>Inheritance allows for reuse of code where common behavior is defined
  once for a number of related classes and unique behavior is
  implemented only in classes where the behavior is different.</p>
</blockquote>

<p>but this seems not very accurate:</p>

<blockquote>
  <p>继承允许代码的重用，一些相关联的类中共同的行为只被定义一次，具有唯一性的行为只在类之间的行为不同的地方实现。</p>
</blockquote>

<p>this is a single English sentence, but it difficult to translate to Chinese
anybody can help?</p>

CC BY-SA 3.0
2012-04-07T17:24:58.867Z
Kevin, I wasn't the one who downvoted you but I have a couple of suggestions: **(1)** Your question lacks detail, context, background which are useful in providing some help. **(2)** You're asking for too much in a single question. My suggestion is that you split it in several questions (There is no problem in asking many questions if they're not just spam). So try to focus on singular expressions and provide some help in what you mean to convey. :) If you have doubts/questions, you can either comment here or [post a Meta question](http://meta.chinese.stackexchange.com/questions/ask). :)
Alenanno
CC BY-SA 3.0
2012-04-28T21:44:21.143Z
Can someone change the title? Its so vague to not be useful to anyone searching for this.
jaffa
<translation>
How do I translate a definition for inheritance (computer science)?
# How do I translate a definition for inheritance (computer science)?

(Asked by: username_0 on 2012-04-07)

I'm trying to say this in Chinese:

> Inheritance allows for reuse of code where common behavior is defined
> once for a number of related classes and unique behavior is
> implemented only in classes where the behavior is different.

but this seems not very accurate:

> 继承允许代码的重用，一些相关联的类中共同的行为只被定义一次，具有唯一性的行为只在类之间的行为不同的地方实现。

this is a single English sentence, but it difficult to translate to Chinese
anybody can help?

**Tags:** translation
> **Comments:**
> **username_1**: Kevin, I wasn't the one who downvoted you but I have a couple of suggestions: **(1)** Your question lacks detail, context, background which are useful in providing some help. **(2)** You're asking for too much in a single question. My suggestion is that you split it in several questions (There is no problem in asking many questions if they're not just spam). So try to focus on singular expressions and provide some help in what you mean to convey. :) If you have doubts/questions, you can either comment here or [post a Meta question](http://meta.chinese.stackexchange.com/questions/ask). :)  
> **username_2**: Can someone change the title? Its so vague to not be useful to anyone searching for this.  

---

## 3 answers

### Answer by username_3 on 2012-04-08. Score: 2 | Accepted answer

The transcript is about computer science inheritance concept. And the English is written very poorly. It is not easy to understand in English, if you apply it to this kind of abstract computer science concepts nobody will understand.

> Inheritance allows for reuse of code where common behavior is defined once for a number of related classes and **unique behavior is implemented only in classes where the behavior is different**.
>
> 继承允许代码的重用，一些相关联的类中共同的行为只被定义一次，**具有唯一性的行为只在类之间的行为不同的地方实现**。

I don't think the marked bold one correspond to each other very much.

I think the following will be easier for you to understand.

> 一個類別(A)如果继承了另一類別(B)，被继承的(B)為子類別，继承類別(A)則為父類別。子类继承允许代码的重用，可使子类别具有父类别的各种属性和行为，而不需要再次编写相同的代码；唯子類別之独特行为須在本身行為中個別定義。

I hope that you have the basic computer science or programming knowledge before you do this kind of translation, or it will be very difficult for you to translate the whole passage! For reference you can take chinese wikipedia of 继承\_(计算机科学).

Hope that helps!

> **Comments:**
> **username_4**: As a native English speaker, I wouldn't say that the English is "written very poorly." It's dense but clear.  

---

### Answer by username_5 on 2012-04-24. Score: 4

继承实现了代码的重用，即相关的类的相同行为被实现一次，不同的行为被单独实现。

> **Comments:**
> **username_1**: Hello after, and welcome to CL&U. Do you mind adding an english translation? If possible, don't limit yourself to a quick answer. Expand on it, it will become more valuable!  
> **username_6**: Wow, impressive translation!  

---

### Answer by username_7 on 2015-08-08. Score: 0

"继承"可用来重用代码, 多个相关的类中的共同行为只定义一次, 不同的行为则在这些类中分别实现.

In computer English, some words are always translated to specified Chinese character.

define -- 定义
implement -- 实现
instantiate -- 实例化


---

