Re: Declarations near usage
Re: Declarations near usage
- Subject: Re: Declarations near usage
- From: Scott Anguish <email@hidden>
- Date: Wed, 16 Oct 2002 16:48:42 -0400
On Wednesday, October 16, 2002, at 04:42 PM, John Hvrnkvist wrote:
On Wednesday, October 16, 2002, at 09:37 PM, Scott Anguish wrote:
On Wednesday, October 16, 2002, at 02:48 PM, James Hober wrote:
One thing I don't like about Objective C is that you have to declare
variables at the top of a block. I think code that declares
variables near their first use is much more readable. This is the
norm in C++.
This is also the norm in Objective-C with the latest compiler
(included with 10.2)
You might say "allowed" rather than "the norm"...
OK...
Personally, I hate doing it that way, but got used to it when doing
Java WebObjects stuff... now I try to avoid it.. but, well... :-)
_______________________________________________
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.