Re:Why Use Pascal?
by kazinator on Saturday July 08, 2023 @06:15PM
(#36649325)
"whenever an object is passed" clearly refers to run-time. An object is not being passed when we are compiling the function call.
"declared in the function" clearly means that the function has an internal type check.
An interface declaration (Modula-2 interface file, C header file with prototypes) is not "in the function"; it's compile-time meta-data about a function.
A function call between separately compiled translation units has no idea what is in a function.
"declared in the function" clearly means that the function has an internal type check.
An interface declaration (Modula-2 interface file, C header file with prototypes) is not "in the function"; it's compile-time meta-data about a function.
A function call between separately compiled translation units has no idea what is in a function.