• 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: Declarations near usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Declarations near usage


  • Subject: Re: Declarations near usage
  • From: John Hörnkvist <email@hidden>
  • Date: Wed, 16 Oct 2002 22:42:30 +0200

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"...

/John
_______________________________________________
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: Declarations near usage (From: Scott Anguish <email@hidden>)

  • Prev by Date: NSTextFieldCell subclass won't edit
  • Next by Date: Re: Cocoa and PortAudio!
  • Previous by thread: Re: Declarations near usage
  • Next by thread: Refactoring tools was: Declarations near usage
  • Index(es):
    • Date
    • Thread