Dennis Lee Bieber <wlfr...@ix.netcom.com> writes: > On Tue, 29 Mar 2016 20:14:02 -0700 (PDT), Rustom Mody > <rustompm...@gmail.com> declaimed the following: > > >>Pascal ? C ? Python is a slide down because >>Pascal had the clear distinction of procedure and function > > That goes back to FORTRAN (in which one has SUBROUTINE subprocedures, > and FUNCTION subprocedures -- yes, that is how the standard document used > to define them), which quite predates Pascal. Strangely, the precursor to > Pascal -- ALGOL -- apparently used PROC for both procedures and > functions.
Algol 60 used "procedure" but it maintained the distinction in that functions had (have?) a type and subroutines didn't (don't). Algol 68 uses PROC for both and the type VOID for procedures with no value. -- Ben. -- https://mail.python.org/mailman/listinfo/python-list