型族
「型族」の英語
「型族」は英語で type family と言います。APIやライブラリ設計で、振る舞いや役割が共通する型のグループを指す専門用語です。一般の日常会話ではほとんど使いません。
「型族」の英語の使い分け
APIやライブラリで、共通する振る舞いを持つ型の分類に使います。
This type family groups components with similar behavior.
この型族は、似た振る舞いを持つコンポーネントをまとめます。
「型族」の例文
Different type families in the API help categorize components by behavior.
APIの異なる型族は、振る舞いごとにコンポーネントを分類するのに役立つ。
コアイメージ
型族はAPIやライブラリ設計で振る舞いや役割に基づき型を分類するカテゴリ
英英
In an API context, a type family denotes a category of types organized by behavior or role, helping to classify components and parameters.
語源
type familyは、typeとfamilyという語の結合で、API設計やライブラリで振る舞い別に型をまとめる用語として使われるようになった
コラム
- API設計では異なるコンポーネントを振る舞いごとに分類する際に型族という用語が使われ、設計図や型定義でその概念が明示される
「型族」のレベル別の例文
- 中学
These types belong to the same type family.
これらの型は同じ型族に属します。
- 高校・英検2級
The library uses a type family to organize related data types.
- TOEIC・ビジネス
The API documentation defines each type family by its expected behavior.
- 日常会話
Are these types in the same type family?
これらの型は同じ型族なの?
「型族」を英語にするときのよくある間違い
× This is type family.
○ This is a type family.
type family は可算名詞なので、単数形で使うときは通常 a が必要です。
× type group
意味は通じても、この文脈で型の分類を表す標準的な専門用語は type family です。