1. 1.1 make vs newhistorical

    Make and new are Go built-ins. These notes compare their memory allocation, initialization, and return values.

  2. 1.2 reflectionhistorical

    Reflection lets programs inspect and manipulate type information at runtime. These notes examine its relationship with type information stored in interfaces.

  3. 1.3 errorhistorical

    Go error handling distinguishes returned errors from exceptional conditions. These notes begin with that distinction and record handling approaches and examples.

  4. 1.4 interfacehistorical

    Interfaces retain information about the type and value assigned to them. These notes begin with empty interfaces and examine their internal representation.

  5. 1.5 functionhistorical

    Go treats functions as first-class values and supports named and anonymous functions. These notes examine their definitions and usage.

  6. 1.6 stringhistorical

    Computers store characters as bytes, with character sets defining the mapping. These notes introduce Go string concepts through the development of encodings such as ASCII.

  7. 1.7 maphistorical

    Go maps associate keys with values and organize data in buckets. These notes examine access, resizing, and concurrent usage through that structure.

  8. 1.8 unsafehistorical

    Pointers hold memory addresses and allow called functions to modify caller-supplied data. These notes use pointers to introduce unsafe operations.

  9. 1.9 panic and recoverhistorical

    Panic interrupts normal execution, while recover can handle a panic within deferred code. Examples record how both mechanisms work together.

  10. 1.10 Type Systemhistorical

    Go's built-in and user-defined types carry type metadata. These notes examine how runtime metadata and headers describe different types.