Re: misspelled methods
Re: misspelled methods
- Subject: Re: misspelled methods
- From: Hamish Allan <email@hidden>
- Date: Tue, 18 Aug 2009 17:12:33 +0100
On Tue, Aug 18, 2009 at 4:29 PM, Paul Summermatter<email@hidden> wrote:
> As for those who say
> you have to remember to mark the method with an annotation, most of the good
> Java IDEs will warn you if you do not and will actually insert the
> annotation automatically if you use one of their autogenerate methods
> commands where you say you want to override a method.
So, instead of remembering to mark the method, you have to remember to
ask your IDE to mark the method?
> This then also future
> protects you if someone changes the name of the parent method without doing
> a proper refactor, because the compiler will fail until you rename the
> implementations in the subclasses.
I can see how that could be useful, but I still think the warning I
proposed would help in more cases (i.e. those where you didn't
remember to mark the method).
Hamish
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden