Re: Why "self"? (Was: Newbie: Referencing Objects)
Re: Why "self"? (Was: Newbie: Referencing Objects)
- Subject: Re: Why "self"? (Was: Newbie: Referencing Objects)
- From: Siavash <email@hidden>
- Date: Mon, 27 Oct 2008 23:26:50 -0700
Coming from a Flex/Flash background I will have to say that there is
BIG differences between ActionScript 2.0 and 3.0. AS 3.0 is a powerful
OOP language and AS 2.0 is not. That being said, the same object
oriented principles do apply in ActionScript 3.0 the same as Obj-C and
the Cocoa Framework. I would say a good tutorial/book on MVC structure
would clear up some things. Also obj-c is not as forgiving as
ActionScript syntax wise. I could see the difficulty coming from
Flash IDE into Cocoa. I think the transition is a little easier for a
Flex Developer. Many mx.controls.* UI classes are similar to Cocoa UI
classes except instead of listening for events you have targets,
selectors, and delegates.
--
Siavash Ghamaty
On Oct 27, 2008, at 8:40 PM, Graham Cox wrote:
On 28 Oct 2008, at 2:30 pm, john fogg wrote:
I come from coding in Actionscript (Flash) and there things are
apparently quite different.
FWIW, I tried to do some coding in Actionscript a few years ago
after being immersed in C++ for many years and then Objective-C/
Cocoa for a few years. To say that it was an exercise in utter
frustration is an understatement. As a programmer in these "real"
languages I found AS to be really mickey-mouse.
Others' opinions will no doubt vary but I suspect that if you know
AS well, moving to what I call a real language is going to mean
unlearning a huge heap of rubbish. Sorry, just my opinion.
--Graham
_______________________________________________
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
_______________________________________________
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