• 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: Dot Syntax docs missing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dot Syntax docs missing?


  • Subject: Re: Dot Syntax docs missing?
  • From: "Michael Ash" <email@hidden>
  • Date: Sat, 19 Jul 2008 09:36:57 -0400

On Sat, Jul 19, 2008 at 1:14 AM, Rick Mann <email@hidden> wrote:
>
> On Jul 18, 2008, at 21:51:57, Jerry Krinock wrote:
>
>> setEp1: should work.  The colon is significant and is a part of the method
>> name.
>
> In fact, I do have the colon in the actual definition. Definitely something
> else is going on, I think.
>
>> I would advise you to embrace and learn both the dot syntax and square
>> brackets.
>
> Well, I'm forced to use the square brackets for method calls (excuse me,
> "message sends"), and I love square brackets as array index operators. I
> don't think I'll ever embrace them for method dispatch.

The universe of programming languages extends far beyond this little
island of ALGOL-lookalikes. Objective-C messaging syntax is utterly
mundane compared to many common, useful syntaxes used in practical
(but different) languages every day. IMO you do yourself a disservice
if you don't branch out and try some different things once in a while,
and remember that they're just programming languages, and syntax is
just syntax, nothing really all that important.

Mike
_______________________________________________

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: Dot Syntax docs missing?
      • From: Ian Joyner <email@hidden>
References: 
 >Dot Syntax docs missing? (From: Rick Mann <email@hidden>)
 >Re: Dot Syntax docs missing? (From: Jerry Krinock <email@hidden>)
 >Re: Dot Syntax docs missing? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: How to get cursor text from a Mac window
  • Next by Date: Re: substitute class at runtime?
  • Previous by thread: Re: Dot Syntax docs missing?
  • Next by thread: Re: Dot Syntax docs missing?
  • Index(es):
    • Date
    • Thread