|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 30.12.2003, at 01:13, Prachi Gauriar wrote:On Dec 29, 2003, at 3:03 PM, Greg Parker wrote:Some common requests for new features:While this is commonly requested, is it necessary?
1. Namespaces for classes, as seen in C++ and Java
Of course it is not necessary. But like variable scoping in blocks it is quite useful in practice and leads to better class names.
Example: instead of using
---
@interface OGoWebUIScheduler
---
@namespace org.opengroupware.webui;
@interface Scheduler
---
Looks way better to me. Of course this is just a "visual" thing - just like [a setObject:b forKey:c] looks better than a.setObjectForKey(b,c).
| References: | |
| >FSOCLF (Frequently-Suggested Objective-C Language Features) (From: Prachi Gauriar <email@hidden>) | |
| >Re: FSOCLF (Frequently-Suggested Objective-C Language Features) (From: Helge Hess <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.