Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Amazing | 19 comments | Create New Account
Click here to return to the 'Amazing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Amazing
Authored by: Anonymous on May 16, '02 10:34:24AM

It is all because of the NeXT tools-- Cocoa kicks major ass over any other GUI development tool on the planet. This works for two reasons.

(1) Interface Builder is not a Code Generator. A NIB file is just a document like any other, only it contains a set of UI elements instead of, say, a spreadsheet. The key part is that a NIB file also contains connections between the interface and the code behind it. There need not be any code to actually make those connections and, as such, you can add new connections and reconfigure old connections without recompiling.

(2) Objective-C makes it all possible. ObjC allows for fully dynamic, at runtime, method dispatch. This is is what allows the no-code connections between interface and code. Can be done in Java, but is ia pain in the ass.

Microsoft doesn't have dev tools nearly this advanced and, hence, it is much harder to do things like this.



[ Reply to This | # ]