DIP 1017--Add Bottom Type--Final Review
Walter Bright
newshound2 at digitalmars.com
Wed Jan 16 06:25:50 UTC 2019
As a historical note, subroutines used to be grouped into two categories:
* functions return a value
* procedures do not return a value
See Pascal and Ada for example, they have "function" and "procedure" keywords.
C decided to merge the two into functions, which has its advantages (a pointer
to a function need not be a separate type than a pointer to a procedure). They
are distinguished by having the function return 'void'.
More information about the Digitalmars-d
mailing list