Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dot Syntax docs missing?



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to 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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.