• 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
[OT] Re: Is pointer syntax logical?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OT] Re: Is pointer syntax logical?


  • Subject: [OT] Re: Is pointer syntax logical?
  • From: Alastair Houghton <email@hidden>
  • Date: Thu, 26 Jul 2007 13:28:08 +0100

On 26 Jul 2007, at 13:15, Jyrki Wahlstedt wrote:

On 26.7.2007, at 15.02, Steve Bird wrote:

On Jul 26, 2007, at 7:52 AM, Jacob Engstrand wrote:

This one again! I really shouldn't go for this obvious bait, but in the interest of signal/noise (and so we can kill this thread right here and now), I will attempt to end this thread by giving C ++ inventor Bjarne Stroustrup the last word:

In this instance, Bjarne Stroustrup is wrong. The fact that he is famous in no way changes that, no matter how enamoured you (or others) may be of his celebrity.


A ``typical C++ programmer'' writes ``int* p;'' and explains it ``p is a pointer to an int'' emphasizing type. Indeed the type of p is int*. I clearly prefer that emphasis and see it as important for using the more advanced parts of C++ well.

And a programmer coming from Pascal tends to write "int* p1, p2;" preferring the "C++" approach, and fails to understand why he does not get TWO pointers. After all, "int*" is supposed to be a type, is it not?


And any programmer can deduce that this has actually nothing to do with Cocoa!?

Well the original posts (up to mine) did actually make reference to the Objective-C syntax... but you're right, it's going off topic, and was probably always destined to.


Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [OT] Re: Is pointer syntax logical?
      • From: Jacob Engstrand <email@hidden>
References: 
 >Is pointer syntax logical? (From: Bob Ueland <email@hidden>)
 >Re: Is pointer syntax logical? (From: Alastair Houghton <email@hidden>)
 >Re: Is pointer syntax logical? (From: Jacob Engstrand <email@hidden>)
 >Re: Is pointer syntax logical? (From: Steve Bird <email@hidden>)
 >Re: Is pointer syntax logical? (From: Jyrki Wahlstedt <email@hidden>)

  • Prev by Date: Re: Is pointer syntax logical?
  • Next by Date: Re: Core Data, sorting on dependent values
  • Previous by thread: Re: Is pointer syntax logical?
  • Next by thread: Re: [OT] Re: Is pointer syntax logical?
  • Index(es):
    • Date
    • Thread