• 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: Python/Ruby for Cocoa (was: Simple question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python/Ruby for Cocoa (was: Simple question)


  • Subject: Re: Python/Ruby for Cocoa (was: Simple question)
  • From: "Sherm Pendley" <email@hidden>
  • Date: Mon, 17 Mar 2008 15:31:05 -0400

On Mon, Mar 17, 2008 at 2:39 PM, Paul Sargent <email@hidden> wrote:

>
> On 17 Mar 2008, at 17:46, Hamish Allan wrote:
>
> > If you're cutting your programming teeth on Cocoa, you might find that
> > Python or Ruby is gentler.
>
> I'm not sure I agree. Two problems for me.
>
> * Cocoa isn't a seamless fit with either python or ruby, so there are
> little corner cases around that don't feel quite right. Method naming,
> for example, reads correctly in Objective C, but not in Python. In
> fact it can get quite confusing.
>
> * The documentation for Cocoa on Python and Ruby is far less bountiful
> than for Objective C, so you end up reading Objective C documents and
> translating them to Python or Ruby.
>
> I really like Python (in particular) as a teaching language, but I
> wouldn't teach cocoa with it.


I completely agree - and I wrote CamelBones, the Cocoa/Perl bridge. It is,
and always has been, my opinion that language bridges are not an adequate
substitute for learning Cocoa's native language, Objective-C. What they are
*great* for is giving additional options to a skilled programmer who's
already familiar with both Cocoa and a scripting language. Someone who tries
to use them as a means to avoid Objective-C is just setting themselves up
for a lot of frustration.

sherm--
_______________________________________________

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: Python/Ruby for Cocoa (was: Simple question)
      • From: Scott Thompson <email@hidden>
References: 
 >Simple question (From: Cocoa <email@hidden>)
 >RE: Simple question (From: Luca Ciciriello <email@hidden>)
 >Re: Simple question (From: Scott Thompson <email@hidden>)
 >Re: Simple question (From: "Kyle Sluder" <email@hidden>)
 >Re: Simple question (From: "Rob Napier" <email@hidden>)
 >Re: Simple question (From: "Hamish Allan" <email@hidden>)
 >Re: Python/Ruby for Cocoa (was: Simple question) (From: Paul Sargent <email@hidden>)

  • Prev by Date: Re: Prevent application activation after dragging items to the Dock icon?
  • Next by Date: Re: Modifying glyph storage in NSLayoutManager
  • Previous by thread: Re: Python/Ruby for Cocoa (was: Simple question)
  • Next by thread: Re: Python/Ruby for Cocoa (was: Simple question)
  • Index(es):
    • Date
    • Thread