• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: misspelled methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >misspelled methods (From: Todd Heberlein <email@hidden>)
 >Re: misspelled methods (From: "Sean McBride" <email@hidden>)
 >Re: misspelled methods (From: Hamish Allan <email@hidden>)
 >Re: misspelled methods (From: Paul Summermatter <email@hidden>)

  • Prev by Date: Re: Interpreting Shark Results
  • Next by Date: Re: misspelled methods
  • Previous by thread: Re: misspelled methods
  • Next by thread: Re: misspelled methods
  • Index(es):
    • Date
    • Thread