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

Re: Naming conventions


  • Subject: Re: Naming conventions
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 13 Sep 2001 11:02:09 +0200

Brent,

>>>>>> Brent Gulanowski (BG) wrote at Wed, 12 Sep 2001 20:25:00 -0400:
BG> Putting capital letters in front of class names to make them unique is
BG> not particularly foolproof. While I can't see it being anywhere as much
BG> of a problem in Cocoa as Java at large (out there on the wild wild web),
BG> you never know. So what have people said about this before now? And is
BG> everybody happy with it the way it is?

Nope. Some scoping would be definitely great.

I guess that nobody wanted to mess up with ObjC (which was designed with
global class space) that much, since it is really not "as much of a problem".
Therefore the prefix hack is used widely as a workaround, which makes nobody
happy, but (I guess) anybody just barely satisfied...

Incidentally, there is another scoping problem of method names with
categories. I guess it is not worth solving, but I'm not sure.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >Naming conventions (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: Re: Applications folder path
  • Next by Date: Re: Applications folder path
  • Previous by thread: Re: Naming conventions
  • Next by thread: RE: Naming conventions
  • Index(es):
    • Date
    • Thread