Re: Dot Syntax docs missing?
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