• 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: Syntactic sugar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntactic sugar


  • Subject: Re: Syntactic sugar
  • From: Andrew Farmer <email@hidden>
  • Date: Mon, 4 Sep 2006 21:59:13 -0700

On 04 Sep 06, at 11:49, CoLo0LoGo wrote:
http://en.wikipedia.org/wiki/Syntactic_sugar

Could anyone point me to any documentation of Syntactic sugar used in
Cocoa programming if it is used much in development here ?

A few examples:

* IBOutlet and IBAction are a minor form of syntactic sugar - they're
  both typedef'd as equivalent to void.

* The Cocoa headers define a set of macros (NS_DURING et al) which
  implement exception handling. However, they're now superseded by the
  @synchronized keyword.

* Some programmers - myself included - use a complex macro to implement
  a foreach() looping structure.

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Syntactic sugar
      • From: Chris Hanson <email@hidden>
    • Re: Syntactic sugar
      • From: j o a r <email@hidden>
    • Re: Syntactic sugar
      • From: Ben Lachman <email@hidden>
References: 
 >Syntactic sugar (From: CoLo0LoGo <email@hidden>)

  • Prev by Date: Re: converting NeXTstep NIB files to cocoa
  • Next by Date: Cocoa Browser
  • Previous by thread: Re: Syntactic sugar
  • Next by thread: Re: Syntactic sugar
  • Index(es):
    • Date
    • Thread