thepointman.dev_

Courses / Modern Java

Modern Java

intermediate9 lessons

Text blocks and whitespace stripping, Records and their generated canonical constructor, compact constructors for validation, sealed classes with permits, sealed+records for algebraic data types, instanceof pattern matching, switch expressions with yield, and guarded patterns in Java 21.

// Lessons

  1. 01

    Text Blocks (Java 13) — Multiline Strings Without Escape Chaos

    soon
  2. 02

    Records (Java 16) — Immutable Data Classes Without the Boilerplate

    soon
  3. 03

    Record Internals — The Generated Canonical Constructor and Accessors

    soon
  4. 04

    Compact Constructors — Validation Without Boilerplate

    soon
  5. 05

    Sealed Classes (Java 17) — Restricting the Class Hierarchy

    soon
  6. 06

    Sealed Classes + Records — Algebraic Data Types in Java

    soon
  7. 07

    instanceof Pattern Matching (Java 16) — Eliminating the Cast

    soon
  8. 08

    Switch Expressions (Java 14) — yield and Arrow Cases

    soon
  9. 09

    Switch with Pattern Matching (Java 21) — Guarded Patterns

    soon