# 数据类型

**数据类型**是编程语言中对值的一种分类，它规定了哪些值可能存在、哪些操作适用于这些值，以及这些值如何表示。《类型与编程语言》一书的作者本杰明·C·皮尔斯（Benjamin C. Pierce）将类型系统定义为“一种在程序中强制实施抽象层次的语法方法”，其应用领域包括软件工程、语言设计、编译器和安全性<sup>[1](https://www.cis.upenn.edu/~bcpierce/tapl/main.html)</sup>。[Python](https://www.edgepedia.org/zh/python-programming-language) 的官方类型规范将同一思想表述得更为具体：一个完全静态的类型表示一组可能的运行时值，因此类型 `bool` 就是值的集合 `{ True, False }`<sup>[2](https://typing.python.org/en/latest/spec/concepts.html)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 类型规定可能的值、允许的操作和表示方式；类型系统以语法方式强制实施抽象层次<sup>[1](https://www.cis.upenn.edu/~bcpierce/tapl/main.html)</sup> |
| 静态与动态 | Java 在编译时检查每个变量和表达式的类型；Python 的 `Any` 标记那些类型无法静态确定、仍需动态检查的表达式<sup>[3](https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-4.html)</sup><sup> • </sup><sup>[2](https://typing.python.org/en/latest/spec/concepts.html)</sup> |
| 整数大小 | C++ 的 `int` 保证至少 16 位，但在 32/64 位系统上几乎一律为 32 位；Java 在所有实现上固定 `byte` 为 8 位、`short` 为 16 位、`int` 为 32 位、`long` 为 64 位<sup>[4](https://cppreference.com/cpp/language/types)</sup><sup> • </sup><sup>[3](https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-4.html)</sup> |
| 浮点数 | Java 的 `float` 和 `double` 精确对应 IEEE 754 的 binary32 和 binary64；C++ 的 `float` 和 `double` “通常”是这两种格式<sup>[3](https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-4.html)</sup><sup> • </sup><sup>[4](https://cppreference.com/cpp/language/types)</sup> |
| 类型安全 | 安全性即进展加保持性，与静态检查无关：Python 是动态类型但类型安全，而 C 是静态类型但类型不安全<sup>[1](https://www.cis.upenn.edu/~bcpierce/tapl/main.html)</sup><sup> • </sup><sup>[5](https://www.socratopia.app/library/programming-languages-en/chapter-7)</sup> |
| 强类型与弱类型 | Python 对 `1 + "1"` 抛出 `TypeError`；JavaScript 得到字符串 `"11"`；Java 在任一操作数为字符串时将 `+` 定义为字符串拼接<sup>[6](https://www.socratopia.app/library/programming-languages-en/chapter-10)</sup> |
| 多态 | 全称量化建模泛型函数，存在量化建模抽象数据类型，有界量化建模子类型与继承（Cardelli & Wegner，1985）<sup>[7](https://dl.acm.org/doi/epdf/10.1145/6041.6042)</sup> |

## 什么是数据类型

这一概念在语言发展史中几经变迁。在 ALGOL 和 Pascal 等命令式语言中，类型由其表示方式定义，即实现所选择的位布局；在 [Simula](https://www.edgepedia.org/zh/simula) 和 CLU 等更高级的语言中，类型转而由值空间及其行为来定义<sup>[8](https://www.cs.tufts.edu/~nr/cs257/archive/stephen-kell/in-search-of-types.pdf)</sup>。一份关于该领域的概念史指出，抽象数据类型意在模仿语言已经提供的内置类型<sup>[9](https://cs.unibo.it/~martini/TALKS/martini-LIP.pdf)</sup>，而一条早期原则认为，类型正确的程序，其含义绝不应依赖于实现其原始类型所用的具体表示<sup>[10](https://cs.unibo.it/~martini/TALKS/hapoc2015.pdf)</sup>。

**CLU 与信息隐藏。** CLU 由[芭芭拉·利斯科夫](https://www.edgepedia.org/zh/barbara-liskov)（Barbara Liskov）的团队于 20 世纪 70 年代中期设计，旨在支持数据抽象，同时引入了若干影响深远的功能，包括异常处理机制、迭代器和参数化类型<sup>[11](https://www.cs.tufts.edu/comp/150FP/archive/barbara-liskov/clu-history.pdf)</sup>。CLU 确定了一项特定的信息隐藏策略：隐藏抽象数据类型的表示，并由语言强制执行<sup>[8](https://www.cs.tufts.edu/~nr/cs257/archive/stephen-kell/in-search-of-types.pdf)</sup>。

## 硬件与内存中的类型

在机器层面，类型在很大程度上是对位宽和编码的承诺。C++ 标准定义了五种标准有符号整数类型：`signed char`、`short int`、`int`、`long int` 和 `long long int`，每一种提供的存储空间至少不少于其前一种，有符号范围从 −2^(N−1) 到 2^(N−1)−1，其中 N 为位宽<sup>[12](https://eel.is/c++draft/basic.fundamental)</sup>。该标准还定义了三种浮点类型：`float`、`double` 和 `long double`，其值集逐层嵌套：`double` 提供的精度至少不低于 `float`，`long double` 至少不低于 `double`<sup>[12](https://eel.is/c++draft/basic.fundamental)</sup>。

**大小为何各异。** C++ 的 `int` 保证至少 16 位宽，但在 32/64 位系统上几乎一律至少为 32 位，且大小顺序 `char` ≤ `short` ≤ `int` ≤ `long` ≤ `long long` 成立<sup>[4](https://cppreference.com/cpp/language/types)</sup>。各实现关于基本类型大小的选择统称为数据模型，目前有四种数据模型得到广泛接受<sup>[4](https://cppreference.com/cpp/language/types)</sup>。具体范围由位宽推出：有符号 32 位整数的范围为 −2,147,483,648 到 2,147,483,647，有符号 64 位整数的范围为 −9,223,372,036,854,775,808 到 9,223,372,036,854,775,807<sup>[4](https://cppreference.com/cpp/language/types)</sup>。当确切位宽至关重要时，C++11 的 `<cstdint>` 头文件提供了 `int8_t` 到 `int64_t`，即宽度恰为 N 位的有符号整数类型，N 通常为 8、16、32 或 64，且不含填充位<sup>[13](https://en.cppreference.com/cpp/types/integer)</sup>。

Java 采取了相反的做法：其整数类型在所有实现上都是固定的，`byte`、`short`、`int` 和 `long` 分别为 8 位、16 位、32 位和 64 位有符号二进制补码整数，`char` 为表示 UTF-16 码元的 16 位无符号整数<sup>[3](https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-4.html)</sup>。其浮点类型按 [IEEE 754](https://www.edgepedia.org/zh/ieee-754) 格式规定：`float` 精确对应 32 位 binary32，`double` 对应 64 位 binary64<sup>[3](https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-4.html)</sup>。C++ 的 `float` 和 `double` 通常也是这两种格式，但 `long double` 在 x86 和 x86-64 上往往是 x87 80 位扩展类型，在 MSVC 下等于 binary64，而在某些 [HP-UX](https://www.edgepedia.org/zh/hp-ux)、SPARC、MIPS、ARM64 和 z/OS 实现上则出现 binary128<sup>[4](https://cppreference.com/cpp/language/types)</sup>。32 位 IEEE-754 `float` 的取值可达 ±3.4028234·10^38，最小正规数为 ±1.1754943·10^−38；64 位 `double` 的取值可达 ±1.7976931348623157·10^308<sup>[4](https://cppreference.com/cpp/language/types)</sup>。

甚至同一语言的库也可能因平台而异：NumPy 的 `numpy.int_` 和 `numpy.intp` 等类型因平台不同而位宽不同，例如 32 位与 64 位 CPU 之别，而 `numpy.float64` 是 64 位浮点类型<sup>[14](https://docs.scipy.org/doc/numpy/user/basics.types)</sup>。

**动态表示的成本。** Python 的数字是堆分配的对象，这一成本是可以测量的。一个 Python `PyLong` 对象即使值为 0 也至少占用 28 字节，每 30 位一个“肢”（limb）再增加 4 字节，而 `PyFloat` 固定为 24 字节；纯 Python 没有 `uint8` 或 `int32` 之类的定宽类型，而 NumPy 提供从 `np.int8`（1 字节）到 `np.int64`（8 字节）的类型<sup>[15](https://root-11.github.io/intro-book-python/trunk/02_numbers_and_how_they_fit.html)</sup>。在一项针对一百万个数字的基准测试中，存放大型整数的 Python 列表占用 38.25 MB，而 NumPy `int8` 仅占 0.95 MB，求和时间从 2.56 ms 降至 0.28 ms<sup>[15](https://root-11.github.io/intro-book-python/trunk/02_numbers_and_how_they_fit.html)</sup>。一项关于 CPython 的性能极限研究发现，将数字装箱为堆对象是数值代码上单项成本最高的语言特性，在基准测试集中占总执行时间的比例高达 43%<sup>[16](https://www.cristal.univ-lille.fr/dyla14/papers/dyla14-8-Python_Interpreter_Performance_Deconstructed.pdf)</sup>。

## 类型系统：静态、动态、强、弱

静态与动态描述的是检查发生的时机。Java 是静态类型语言，意味着每个变量和每个表达式的类型在编译时即已知晓<sup>[3](https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-4.html)</sup>。Python 的规范定义了渐进类型（gradual typing），其中一种特殊的“未知”或“动态”类型用于描述类型无法静态确定的名称或表达式；在 Python 中该类型写作 `Any`，此类表达式仍在运行时接受动态检查<sup>[2](https://typing.python.org/en/latest/spec/concepts.html)</sup>。

静态检查有一项设计约束：类型系统应当是可判定的，即应当存在一种算法——类型检查算法——能够判断程序是否类型正确，这与完整的形式规范不同<sup>[17](https://dl.acm.org/doi/pdf/10.1145/234313.234418)</sup>。

**强与弱是另一条轴线。**“强类型”和“弱类型”是没有单一标准定义的非正式标签；一种常见的区分涉及语言允许隐式转换的容易程度。Python 是强类型：`1 + "1"` 抛出 `TypeError`。JavaScript 得到字符串 `"11"`。Java 在任一操作数为字符串时将 `+` 定义为字符串拼接。C 有时被描述为弱类型，但此处展示的显式指针转换本身并不足以确立这一说法<sup>[6](https://www.socratopia.app/library/programming-languages-en/chapter-10)</sup>。

类型安全与上述两条轴线都不同。一种语言可以是动态类型且类型安全的：在 Python 中，字符串与整数相乘会重复该字符串，而非未定义行为<sup>[31](https://docs.python.org/3/reference/expressions.html)</sup>。一种语言也可以是静态类型且类型不安全的：C 即为一例<sup>[5](https://www.socratopia.app/library/programming-languages-en/chapter-7)</sup>。皮尔斯的形式化论述将安全性定义为进展加保持性：一个类型良好的程序要么求值得到一个值，要么可以继续推进一步，且求值保持类型不变<sup>[1](https://www.cis.upenn.edu/~bcpierce/tapl/main.html)</sup>。“静态类型”和“动态类型”这两个标签在历史上并非对立面，而是多维设计空间中的不同区域<sup>[8](https://www.cs.tufts.edu/~nr/cs257/archive/stephen-kell/in-search-of-types.pdf)</sup>。

动态检查也有其运行时代价。在 CPython 的符号化面向对象代码上，函数和方法调用的迟绑定占总执行时间的比例高达 30%，而与装箱分开的动态类型检查影响相对较小<sup>[16](https://www.cristal.univ-lille.fr/dyla14/papers/dyla14-8-Python_Interpreter_Performance_Deconstructed.pdf)</sup>。

## 类型的种类

Java 的规范将其类型分为两种：原始类型和引用类型；原始类型是 `boolean` 和数值类型，引用类型包括类类型、接口类型和数组类型<sup>[3](https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-4.html)</sup>。

**名义与结构。** 在名义类型系统中，两个静态类型只有在具有相同的身份或显式声明的关系时才相等；采用名义类型系统的语言包括 C++、Java 和 C#<sup>[18](https://exploringjs.com/ts/book/ch_what-is-a-type.html)</sup>。在结构类型系统中，只要目标类型的结构能够接收源类型所含的内容，源类型就可赋值给目标类型；采用结构类型系统的语言包括 [TypeScript](https://www.edgepedia.org/zh/typescript)、Go 的接口和 OCaml 的对象<sup>[18](https://exploringjs.com/ts/book/ch_what-is-a-type.html)</sup>。课程讲义将同一区分概括为按名称的显式声明（Java、C#、Swift）与形状兼容（TypeScript、OCaml、Go）之别<sup>[19](https://notes.camadkins.com/cs/pl/type-systems-goals-guarantees)</sup>。

## 多态、推断与泛型

其底层框架来自 Cardelli 和 Wegner 1985 年发表于《ACM 计算综述》的论文，该文扩展了带类型的 lambda 演算，加入了全称量化（用于表示接受类型参数的泛型函数）、存在量化与打包（隐藏信息并表示抽象数据类型）以及有界量化（表示子类型与继承）<sup>[7](https://dl.acm.org/doi/epdf/10.1145/6041.6042)</sup>。同一篇论文还考察了多态的机制：重载、强制、子类型和参数化<sup>[7](https://dl.acm.org/doi/epdf/10.1145/6041.6042)</sup>。后来的讲义指出，参数多态已成为当代函数式语言的标准特性，而存在类型提供了实现数据抽象的手段，大致相当于模块<sup>[20](https://plv.mpi-sws.org/semantics-course/lecturenotes.pdf)</sup>。

**类型推断。** [罗宾·米尔纳](https://www.edgepedia.org/zh/robin-milner)（Robin Milner）1978 年的论文提出了一套多态编程的规范，配有一个经两个可靠性定理证明其正确的简单类型检查算法，由此奠定了如今所称的 Hindley–Milner 类型推断<sup>[21](https://homepages.inf.ed.ac.uk/wadler/papers/papers-we-love/milner-type-polymorphism.pdf)</sup>。

**泛型与擦除。** Python 的泛型使用类型擦除：由 `Node[int]` 和 `Node[str]` 创建的对象在运行时的类都只是 `Node`，规范指出这一做法在具有泛型的语言中很常见，例如 Java 和 TypeScript<sup>[22](https://typing.python.org/en/latest/spec/generics.html)</sup>。擦除对类型转换有影响：由于运行时不存在参数化类型信息，Java 的运行时无法完全验证某些涉及含参数化类型的类型之间的转换，从而产生编译器警告或错误<sup>[23](https://docs.oracle.com/en/java/javase/26/language/type-patterns.html)</sup>。

## 类型转换与安全陷阱

转换有两大形式。隐式强制无需程序员动作即可发生，如 JavaScript 的 `"11"` 结果或 Java 的字符串拼接 `+`；显式转换则是程序员的断言，如 C 的指针转换<sup>[6](https://www.socratopia.app/library/programming-languages-en/chapter-10)</sup>。Cardelli 和 Wegner 将强制本身视为多态机制之一，与重载、子类型和参数化并列<sup>[7](https://dl.acm.org/doi/epdf/10.1145/6041.6042)</sup>。

失败模式因语言设计而异。在 C 中，指针转换是显式的，因此不属于静默转换之例<sup>[6](https://www.socratopia.app/library/programming-languages-en/chapter-10)</sup>。在渐进类型的 TypeScript 中，检查器可能批准运行时值与类型不符的代码，例如缺失的字段求值为 `undefined`；TypeScript 式的非可靠渐进类型是类型检查器的辅助，而非类型安全<sup>[5](https://www.socratopia.app/library/programming-languages-en/chapter-7)</sup>。Haskell、OCaml 以及不使用 `unsafe` 的 Rust 等可靠的静态类型系统保证编译后的程序不会产生某些运行时类型错误<sup>[5](https://www.socratopia.app/library/programming-languages-en/chapter-7)</sup>。

## 跨语言比较

以下按上述轴线作一比较概览：

- **C** 是静态类型；“弱类型”之说属于非正式分类，仅凭指针转换并不能确立未定义行为<sup>[6](https://www.socratopia.app/library/programming-languages-en/chapter-10)</sup>。ISO C 标准声明的目的是在多种计算系统上促进可移植性、可靠性、可维护性和高效执行<sup>[24](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1539.pdf)</sup>。
- **Java** 是静态且强类型，每个变量和表达式都有编译时类型<sup>[3](https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-4.html)</sup>，整数定宽，采用名义类型<sup>[18](https://exploringjs.com/ts/book/ch_what-is-a-type.html)</sup>。
- **Python** 是动态且强类型，通过注解和 `Any` 叠加渐进类型<sup>[2](https://typing.python.org/en/latest/spec/concepts.html)</sup>。
- **Haskell、OCaml 以及不使用 `unsafe` 的 Rust** 提供可靠的静态类型系统<sup>[5](https://www.socratopia.app/library/programming-languages-en/chapter-7)</sup>。
- **TypeScript** 是结构类型且渐进类型，其渐进类型在设计上就是非可靠的<sup>[18](https://exploringjs.com/ts/book/ch_what-is-a-type.html)</sup><sup> • </sup><sup>[5](https://www.socratopia.app/library/programming-languages-en/chapter-7)</sup>。

在类型化代码与非类型化代码交汇之处，各语言差异显著。《ACM TOPLAS》上的一项比较分析识别出四种限制类型化与非类型化代码之间交互的主要类型强制策略，而允许哪些交互在各语言间差别很大<sup>[25](https://dl.acm.org/doi/10.1145/3579833)</sup>。

## 近期发展

**表示方式的强制规定。** C++20 将二进制补码定为唯一允许的有符号整数表示，保证范围为 −2^(N−1) 到 +2^(N−1)−1；在 C++20 之前，反码和符号-数值表示也是允许的，尽管所有 C++ 编译器早已使用二进制补码<sup>[4](https://cppreference.com/cpp/language/types)</sup>。C 紧随其后：在 C23 之前，C 标准允许反码或符号-数值表示的有符号整数，最小范围为 −(2^(N−1)−1) 到 +2^(N−1)−1；自 C23 起，二进制补码是唯一允许的表示，例如有符号 8 位类型的范围为 −128 到 127<sup>[26](https://cppreference.net/c/language/arithmetic_types.html)</sup>。

**Python 的类型特性。** 为 Python 3.12 采纳的 PEP 695 规定了泛型类、函数和类型别名中类型参数的改进语法，并新增用于声明类型别名的 `type` 语句；通过该语法创建的类型别名的值以及类型变量的边界和约束均为惰性求值，仅在需要时计算<sup>[27](https://peps.python.org/pep-0695/)</sup><sup> • </sup><sup>[28](https://docs.python.org/3/whatsnew/3.12.html)</sup>。Python 3.13 新增了 PEP 696 针对 `TypeVar`、`ParamSpec` 和 `TypeVarTuple` 的类型参数默认值，PEP 702 的 `warnings.deprecated()`，PEP 705 针对 `TypedDict` 的 `typing.ReadOnly`，以及 PEP 742 的 `typing.TypeIs`，后者作为 `typing.TypeGuard` 的替代，提供更直观的类型收窄行为<sup>[29](https://docs.python.org/3/whatsnew/3.13.html)</sup>。

**TypeScript 的类型推断。** 2024 年发布的 TypeScript 5.4 针对用于非提升函数的 `let` 变量和参数，通过寻找最后赋值点实现了更智能的类型收窄，并引入了 `NoInfer` 工具类型，以防止推断与内部类型匹配<sup>[30](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-4.html)</sup>。

更丰富的类型系统特性，包括允许类型依赖于值的依赖类型以及[精化类型](https://www.edgepedia.org/zh/refinement-type)，出现在研究和高级语言的文献中<sup>[19](https://notes.camadkins.com/cs/pl/type-systems-goals-guarantees)</sup>。

## References

1. [Benjamin C. Pierce. *Types and Programming Languages*, official book site](https://www.cis.upenn.edu/~bcpierce/tapl/main.html)
2. [Type system concepts, Python type system specification](https://typing.python.org/en/latest/spec/concepts.html)
3. [Java Language Specification, Java SE 27, Chapter 4: Types, Values, and Variables](https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-4.html)
4. [Fundamental types, cppreference.com](https://cppreference.com/cpp/language/types)
5. [Static vs Dynamic Typing: The Honest Debate, Socratopia](https://www.socratopia.app/library/programming-languages-en/chapter-7)
6. [Strong vs Weak, Structural vs Nominal: The Type Taxonomy, Socratopia](https://www.socratopia.app/library/programming-languages-en/chapter-10)
7. [Luca Cardelli and Peter Wegner (1985). On Understanding Types, Data Abstraction, and Polymorphism. ACM Computing Surveys.](https://dl.acm.org/doi/epdf/10.1145/6041.6042)
8. [Stephen Kell. In Search of Types](https://www.cs.tufts.edu/~nr/cs257/archive/stephen-kell/in-search-of-types.pdf)
9. [Towards a conceptual history of programming languages: Types](https://cs.unibo.it/~martini/TALKS/martini-LIP.pdf)
10. [Several types of types in programming languages](https://cs.unibo.it/~martini/TALKS/hapoc2015.pdf)
11. [Barbara Liskov. A History of CLU](https://www.cs.tufts.edu/comp/150FP/archive/barbara-liskov/clu-history.pdf)
12. [C++ draft standard, basic.fundamental](https://eel.is/c++draft/basic.fundamental)
13. [Fixed width integer types (since C++11), cppreference.com](https://en.cppreference.com/cpp/types/integer)
14. [Data types, NumPy v2.4 Manual](https://docs.scipy.org/doc/numpy/user/basics.types)
15. [Numbers and how they fit, An Introduction to Programming using ECS & EBP in Python](https://root-11.github.io/intro-book-python/trunk/02_numbers_and_how_they_fit.html)
16. [Python Interpreter Performance Deconstructed, DYLA 14](https://www.cristal.univ-lille.fr/dyla14/papers/dyla14-8-Python_Interpreter_Performance_Deconstructed.pdf)
17. [Luca Cardelli. Type Systems. ACM Computing Surveys](https://dl.acm.org/doi/pdf/10.1145/234313.234418)
18. [What is a type in TypeScript? Two perspectives, Exploring JS](https://exploringjs.com/ts/book/ch_what-is-a-type.html)
19. [Type Systems: Goals & Guarantees, course notes](https://notes.camadkins.com/cs/pl/type-systems-goals-guarantees)
20. [Semantics of Type Systems, lecture notes, MPI-SWS](https://plv.mpi-sws.org/semantics-course/lecturenotes.pdf)
21. [Robin Milner (1978). A Theory of Type Polymorphism in Programming](https://homepages.inf.ed.ac.uk/wadler/papers/papers-we-love/milner-type-polymorphism.pdf)
22. [Generics, Python type system specification](https://typing.python.org/en/latest/spec/generics.html)
23. [Type Patterns, Java Language guide](https://docs.oracle.com/en/java/javase/26/language/type-patterns.html)
24. [ISO/IEC 9899:201x, C standard draft N1539](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1539.pdf)
25. [Typed–Untyped Interactions: A Comparative Analysis, ACM TOPLAS](https://dl.acm.org/doi/10.1145/3579833)
26. [Arithmetic types, cppreference.net](https://cppreference.net/c/language/arithmetic_types.html)
27. [PEP 695 – Type Parameter Syntax](https://peps.python.org/pep-0695/)
28. [What's New In Python 3.12](https://docs.python.org/3/whatsnew/3.12.html)
29. [What's New In Python 3.13](https://docs.python.org/3/whatsnew/3.13.html)
30. [TypeScript 5.4 release notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-4.html)
31. [6. Expressions](https://docs.python.org/3/reference/expressions.html)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Programming languages › Programming language concepts

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/data-type

English original: https://www.edgepedia.org/data-type
