• 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: Lance Bland <email@hidden>
  • Date: Wed, 16 Oct 2002 18:15:30 -0400

On Wednesday, October 16, 2002, at 04:48 PM, Scott Anguish wrote:

>>> 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... :-)

The pre-Mac OS X 10.0 Objective-C++ compiler (around 1992-2000) also
allowed symbols to be defined anywhere in the scope but before their
first use.

-lance

------------------------------------
Lance Bland
mailto:email@hidden
VVI Is The #1 Visual-Report Tool Developer For Mac OS X
http://www.vvi.com
_______________________________________________
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:
    • Background threads
      • From: "Al Ameen Shah Ahamed Shah" <email@hidden>
References: 
 >Re: Declarations near usage (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: Cocoa and PortAudio!
  • Next by Date: Using GCC 3.3 with PB
  • Previous by thread: Re: Declarations near usage
  • Next by thread: Background threads
  • Index(es):
    • Date
    • Thread