Summary
This RFC proposes to standardize and mandate the use of the designator name in the end statement for all block-like constructs.
Motivation
The primary motivation for this change is to improve language consistency and code readability in long or nested code blocks, by explicitly linking the end of a block to its beginning.
Caveats and alternatives
Backwards incompatible. Alternatively, only deprecate end record; in favor of an optional end <record_name>;.
Summary
This RFC proposes to standardize and mandate the use of the designator name in the end statement for all block-like constructs.
Motivation
The primary motivation for this change is to improve language consistency and code readability in long or nested code blocks, by explicitly linking the end of a block to its beginning.
Caveats and alternatives
Backwards incompatible. Alternatively, only deprecate
end record;in favor of an optionalend <record_name>;.