2010/1/21 Przemysław Czerpak <[email protected]>:

> No, but please remember that in the future we add strong typing.
> If you will want to enable type protection in your code then you
> will have to precisely declare parameters with type in your class
> definition so it's possible that you will make reverted modification.

i understand but declaring parameters both in class definition and in
method implementation is a duplication of code and as we've seen a
source of ( formal ) errors.

In class(y) doc methods are always declared without any parameter.

It would be better to have only one method declaration/implementation
inside the class definition but if it's not possible declaring methods
without parameters seems to be the "second best" solution.

best regards,
Lorenzo
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to