|interface implemenation methods with reasonable argument names? [message #936190]
||Sun, 07 October 2012 19:51
| Michael Moser
Registered: October 2012
Location: Zürich, Switzerland
One thing I always hate about the automatically generated methods that are created to implement an interface is, that their arguments are always generically called arg0, arg1, arg2, etc.|
Couldn't the code that generates these method headers copy the argument names from the actual interface definitions? There the arguments usualy have more meaningful names and that would help a lot to make the headers more self-explanatory.
Esp. if there are several subsequent arguments of the same type one always has to refer back to the definition to figure out, which one is which. If the arguments had proper names, that would often be superfluous.
Powered by FUDForum
. Page generated in 0.01822 seconds