Add "Declare" keyword for interfaces for consistency
Posted: Fri Oct 18, 2019 3:22 am
We can already declare function return types like this:
Interfaces are kind of weird in that you have to declare the return type after the function name:
For consistency, it would be nice to see something like this instead:
I'm already conditioned to look on the left side for the return type. Examining interfaces is a jarring exception.
Code: Select all
Declare.s name()
Procedure.s name()
Prototype.s name()
Code: Select all
Interface ISomeInterface
name.s()
EndInterface
Code: Select all
Interface ISomeInterface
Declare.s name()
EndInterface