• 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: Cocoa et al as HCI usability problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa et al as HCI usability problem


  • Subject: Re: Cocoa et al as HCI usability problem
  • From: "Sherm Pendley" <email@hidden>
  • Date: Fri, 23 May 2008 18:03:01 -0400

On Fri, May 23, 2008 at 5:34 PM, Bill Bumgarner <email@hidden> wrote:

> On May 23, 2008, at 3:49 PM, Sherm Pendley wrote:
>
>> The implementation of foreach appears almost expressly designed to better
>> support scripting languages. The ObjC foreach() syntax is just chrome -
>> the
>> "fast" comes from under the hood. It compiles down to a single method
>> that's
>> called to get a count of items and a C array of ids. For a scripting
>> bridge,
>> an opportunity to replace several trips across the bridge per iteration
>> with
>> a single round trip for the whole array is *huge*.
>>
>
> That for(... in ...) supports more efficient bridging is a benefit of the
> design, but not the initial goal.


Sure, I understand that. We bridge builders are a very small audience - I'm
under no illusions that Apple put in that kind of effort just for us. Still,
for all that it *wasn't* purpose-built for efficient bridging, it may as
well have been as far as the end result it concerned. I don't think you
could have hit that target more squarely even if it had been.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.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

References: 
 >Re: Cocoa et al as HCI usability problem (From: Andy Lee <email@hidden>)
 >Re: Cocoa et al as HCI usability problem (From: "Sherm Pendley" <email@hidden>)
 >Re: Cocoa et al as HCI usability problem (From: Andy Lee <email@hidden>)
 >Re: Cocoa et al as HCI usability problem (From: Graham Cox <email@hidden>)
 >Re: Cocoa et al as HCI usability problem (From: Ilan Volow <email@hidden>)
 >Re: Cocoa et al as HCI usability problem (From: GĂ©rard Iglesias <email@hidden>)
 >Re: Cocoa et al as HCI usability problem (From: "Sherm Pendley" <email@hidden>)
 >Re: Cocoa et al as HCI usability problem (From: glenn andreas <email@hidden>)
 >Re: Cocoa et al as HCI usability problem (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: How to tell if iTunes is running.
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 892
  • Previous by thread: Re: Cocoa et al as HCI usability problem
  • Next by thread: Re: Cocoa et al as HCI usability problem
  • Index(es):
    • Date
    • Thread