Skip to main content

4 docs tagged with "functional-programming"

View all tags

Chapter 10 — Streams

Complete guide to Java Stream pipelines: creating streams, intermediate vs terminal operations, Optional, Collectors (groupingBy, partitioningBy, joining, teeing), primitive streams, flatMap, lazy evaluation, and parallel streams with thread-safety warnings.

Chapter 3: Paradigm Overview

The three programming paradigms — structured, object-oriented, and functional — each impose discipline by removing capabilities from the programmer. Martin shows how each paradigm maps directly to a fundamental concern of software architecture.

Chapter 6: Functional Programming

Functional programming's core discipline — immutability — eliminates entire classes of concurrency bugs. Learn how immutability, segregation of mutability, and event sourcing shape modern system design.