Re: AppKit source available as reference?
Re: AppKit source available as reference?
- Subject: Re: AppKit source available as reference?
- From: Michael Dagate <email@hidden>
- Date: Thu, 28 Jun 2001 12:33:29 -0500
I concur with Karl. More information is better than less. If that means
reading source code, fine. I prefer to do that before bugging others
with tedious questions. ;)
FWIW, Microsoft always provided the source to MFC (Microsoft Foundation
Classes). In addition to reading it and learning from it, you could
debug into it and that was really handy.
Michael
On Thursday, June 28, 2001, at 11:13 AM, Karl Goiser wrote:
I used Smalltalk for a few years. You get the source to pretty well
everything and, generally, just fairly high-level documentation.
The source provided me with invaluable insights into how to program in
Smalltalk. With a source browser, I would scan through likely classes,
finding relevant methods and who called them and why. In the calling
methods, I would find the style of usage of the methods - examples.
I did this sort of thing when I was learning the environment AND after
becoming more proficient. This is because I would find myself working
in an area of the environment that I hadn't before or hadn't touched
for a while, consequently forgetting most of the details. Having access
to the source increased my productivity a lot.
In Cocoa, I feel lost. How do I find the methods or class that I will
want? Look at the documentation. But how do I find what I need
without reading and/or knowing the documentation of every single
class? I may know it all one day, but what about know?
The upshot is that, in order to program effectively in Cocoa, I will
have to know, pretty well, every method of every class! Then, how do I
find examples of usage of the method(s)?
Compared to Smalltalk, I feel like I am working in the dark!
Karl
-- ----
Klaatu barada nikto
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev