• 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: j o a r <email@hidden>
  • Date: Wed, 16 Oct 2002 22:26:31 +0200

IIRC. With GCC3 and Jaguar you can now declare your variables anywhere since it has better support for C99. As Jason said, this is a c-thing, not an ObjC thing.

j o a r

On Wednesday, Oct 16, 2002, at 20:48 Europe/Stockholm, 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++.
_______________________________________________
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: Declarations near usage
      • From: Ondra Cada <email@hidden>
References: 
 >Declarations near usage (From: James Hober <email@hidden>)

  • Prev by Date: Re: Is this a bug of URLHandle or just a documentation
  • Next by Date: Re: NSUndoManager in a multiwindow document
  • Previous by thread: Re: Declarations near usage
  • Next by thread: Re: Declarations near usage
  • Index(es):
    • Date
    • Thread