8LU - Declarative Thinking, Declarative Practice by Kevlin Henney

Опубликовано: 15 Март 2026
на канале: 8th Light Inc.
722
14

Do this, do that. Coding from #assembler to #shellscripting, from the mainstream languages of the last century to the mainstream languages now, is dominated by an imperative style. From how we teach variables — to how we talk about databases — programming languages are structured in terms of the mechanics of change. Think assignment, loops and how code can be threaded (cautiously) with concurrency.

Functional programming, mark-up languages, schemas, persistent data structures and more are all based around a more declarative approach to code, where instead of reasoning in terms of who does what to whom and what the consequences are, relationships and uses are described, and the flow of execution follows from how functions, data and other structures are composed. This talk will look at the differences between imperative and declarative approaches, offering lessons, habits and techniques that are applicable from requirements through to code and tests in mainstream languages.

This #8thLightUniversity was condicted by Kevlin Henney. Kevlin is an independent consultant, speaker, writer and trainer. He is the co-author of A Pattern Language for Distributed Computing and On Patterns and Pattern Languages, two volumes in the Pattern-Oriented Software Architecture series, and editor of 97 Things Every Programmer Should Know.