Part 2. Intermediate Topics#
Nonclass Types, discusses types that are not classes, including singleton types, limited types, and union types.
Slots, focuses on slot getters and setters, techniques for initializing slots, different kinds of allocation of slots, virtual slots, and symbols.
Collections and Control Flow, describes how to use collections, including strings, lists, vectors, tables, and arrays. It also shows how to use control-flow operators to alter the natural (sequential) order of statement execution, including performing iteration.
Functions, describes the syntax of function calls, the function-calling protocol, and the uses of functions as objects.
Libraries and Modules, shows how you can package your code into a reusable software component by designing libraries and modules.
Four Complete Libraries, pulls together the techniques shown in Part 2. Intermediate Topics in the context of a set of complete working libraries.