• 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: Code Guidelines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code Guidelines


  • Subject: Re: Code Guidelines
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 31 May 2004 17:08:01 +0200

At 15:35 Uhr +0200 31.05.2004, Ondra Cada wrote:
Since for globals, there already *is* a standard, which says "name them
capitalized with a prefix", whilst locals should begin by a lowercase
;)

Haven't seen that used anywhere yet. Can you provide an example? The only one I can think of offhand is NSApp. Are there others? Also, I find it kinda dangerous to use the same prefix for

- Classes
- Globals
- Constants

Because there's a lot of behavioral differences between them.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.


  • Follow-Ups:
    • Re: Code Guidelines
      • From: Hasan Diwan <email@hidden>
    • Re: Code Guidelines
      • From: Bob Ippolito <email@hidden>
    • Re: Code Guidelines
      • From: Ondra Cada <email@hidden>
References: 
 >Code Guidelines (From: Christoffer Lerno <email@hidden>)
 >Re: Code Guidelines (From: "M. Uli Kusterer" <email@hidden>)
 >Re: Code Guidelines (From: Georg Tuparev <email@hidden>)
 >Re: Code Guidelines (From: "M. Uli Kusterer" <email@hidden>)
 >Re: Code Guidelines (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: NSSearchField Menu Enabling Troubles...
  • Next by Date: Re: Code Guidelines
  • Previous by thread: Re: Code Guidelines
  • Next by thread: Re: Code Guidelines
  • Index(es):
    • Date
    • Thread