• 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: C++?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++?


  • Subject: Re: C++?
  • From: Andy Lee <email@hidden>
  • Date: Fri, 1 Mar 2002 21:02:33 -0500

At 10:49 AM -0800 3/1/02, Kurt Revis wrote:
>By the way, this is a good reason for naming a language or product with a unique word, with no odd characters in it. Just try searching google for "C#"...

I'm sort of the same way about identifiers in my code. If I were to name a method with a single common word like "update", and I decided to change the name by global search-and-replace, I might change instances of "update" used as a regular English word in comments. So I lean toward names like "updateWhatever".

I don't obsess about this all the time -- mostly when I'm creating a class library and I haven't nailed down all my interfaces yet -- but it's something I keep in mind. It also affects other programmers who may want to grep my class docs for a given method name or class name.

--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: C++? (From: Kurt Revis <email@hidden>)

  • Prev by Date: More memory management questions
  • Next by Date: Re: Ejecting disks
  • Previous by thread: Re: C++?
  • Next by thread: Re: C++?
  • Index(es):
    • Date
    • Thread