concept type in category apache thrift

appears as: types, type, type, types, The types, The type
Programmer's Guide to Apache Thrift

This is an excerpt from Manning's book Programmer's Guide to Apache Thrift.

Semantics should be made explicit in the interface syntax when possible. This minimizes the need for documentation and allows the compiler to enforce the semantics. Descriptive names and wise use of types and type definitions contribute greatly to highly explicit interfaces. For example, if a timing function for a boat race accepts a collection of boats to time, but the list must contain no boat more than once, the interface should prefer a declaration such as set<i32> boats over list<i32> boats. The set container type makes the unique requirement explicit. Great interfaces are hard to use incorrectly.

6.6. Built-in types

Most of the Apache Thrift IDL keywords are used to define the type of an element. Apache Thrift IDL types can be broken up into three categories: base types, containers, and user-defined types (UDTs).