Well, one of the reasons would be if you had
Public Interface int1 Function Test(Integer,Integer) End Interface
As you learn when you call Test from the variable int1, what integer was ...
Basically, the compiler itself does not care about the name of the argument, we almost always do it.
After the comment.
Suppose you have two implementations of int1
Imp1.Test (A, B) and Imp2.Test (B, A)
You made
Dim myInt1 as Int1 ... ... myInt1.Test(
and now you are full, right? You will need to check myInt1 to see if imp1 or imp2 was, so the interface is a waste of time ...
source share