Re:Modern Pascal is still in the race (2022)
by dwheeler on Friday October 20, 2023 @10:05PM
(#37963450)
> In languages without this feature (most of them), you sometimes see long blocks get labeled at the end anyway.
True. However, in Ada at least, if the block types don't match then it's a syntax error detected at compile time by the compiler. Comments like those listed above are often not checked at compile time, and thus aren't very useful for preventing errors.
True. However, in Ada at least, if the block types don't match then it's a syntax error detected at compile time by the compiler. Comments like those listed above are often not checked at compile time, and thus aren't very useful for preventing errors.