Skip to main content

Pascal and C, the Block Builders

This video presents the same text shown beside it, spoken and on screen. It adds nothing the text does not say.

State

Pascal and C, invented at approximately the same time, distinguished themselves as both procedural and imperative — grouping statements into blocks, with variables defined within a block's scope.

Show

A program reading as nested rooms, each with its own local furniture, is their legacy everywhere.

Watch for

Block scoping is the inheritance modern languages carry.