in reply to Re: Re: Re: Re: Re: perl6 & OO in thread perl6 & OO
Nothing. However, there is a LOT wrong with weakly typed variables and not requiring arguments to be of certain types, just because they all have 'run' methods does not mean I should be able to interchange programs and dogs. That's just asking for trouble.
As for getters and setters, can you think of any popular language with OO features that doesn't allow them?
so you are against polymorphism? Or only against polymorphism in weakly typed settings? or am I missing it altothether? thats one of the feratures I'd like to keep. I think its fine to extend things to allow strong typing, but I hope it isn't required.
|