• 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: isa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isa


  • Subject: Re: isa
  • From: Jeff LaMarche <email@hidden>
  • Date: Fri, 31 May 2002 21:52:38 -0700

On Friday, May 31, 2002, at 03:57 PM, John C. Randolph wrote:

Well, generally speaking, swizzling your isa pointer is a dangerous thing to do, but one of the benefits of Obj-C being derived from C is that you can do unsafe things when you want.

Aram:

I tend to agree with John on my own right, but if you look at his signature you'll probably want to give his words some weight.

I found that the greatest difficulty about coming to Cocoa from other OO languages is that it takes a while to start "thinking" Cocoa; it takes a while before you grok it. I've now been playing with Cocoa for about a year and though I feel like I'm finally starting to approach it with the right mindset to fully utilize Cocoa. I've programmed (for a living) in C++ and Java and a host of other non-OOP languages, scripts, reporting languages, etc. and I found Objective-C's syntax very easy to master (though the Smalltalk-influenced parts of the syntax didn't "feel" right at first). It really didn't take very long before I started to get comfortable with the NextStep classes. I still don't know them all, but I'm comfortable enough that armed with the headers and doc files, I can accomplish most things I need to without pestering the list =).

That wasn't enough, though, and it didn't really start to sink in till I'd been playing with it for about six months and had completed a few applications.

Cocoa gives you an incredible amount of flexibility: Use it. Keep playing with it and you'll soon find yourself thinking outside of the lines that C+
+ or other languages have trained you to think within. Before long, you'll probably come to realize that the problem you're trying to solve either 1)
doesn't really need to be solved because you're just not doing it in a "Cocoa"
way, or 2) that it can be solved easily by approaching it differently..

Cheers and good luck.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: isa (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Is there a Cocoa or Unix way to find all applications?
  • Next by Date: Re: Is there a Cocoa or Unix way to find all applications?
  • Previous by thread: Re: isa
  • Next by thread: Operator overloading in Objective C
  • Index(es):
    • Date
    • Thread