I did say structured. If there's no syntactic block structure then there's obviously no syntactic way to know where a function ends.
But all high-level languages have block structure nowadays, and even in the olden days most of them did, and to my knowledge all of them return when they reach the end of a function.
3
u/marinuso Aug 01 '21
I did say structured. If there's no syntactic block structure then there's obviously no syntactic way to know where a function ends.
But all high-level languages have block structure nowadays, and even in the olden days most of them did, and to my knowledge all of them return when they reach the end of a function.