Re: 2 Cocoa Method Questions
Re: 2 Cocoa Method Questions
- Subject: Re: 2 Cocoa Method Questions
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 16 May 2002 17:26:47 -0400
on 02-05-16 3:48 PM, mmalcolm crawford at email@hidden wrote:
>
The latter part of this question is something that comes up in class
>
occasionally, and I have a demo to illustrate the issue. I've written
>
it up as a draft article -- comments welcome:
>
>
http://homepage.mac.com/mmalc/Stepwise/MVC/
Your "fussball" example is a neat illustration a one reason why the MVC
paradigm is a good thing. I hope you'll articulate the point more
completely, though. Maybe something about leaving the model object free to
apply its behavioral rules in its own domain (the world of hard data),
before anybody has to worry about how to display it (the world of vaporous
appearances).
You'll also have to explain to us Americans that the double-s in German is
not just what two lower-case s's "look like" when capitalized (which sounds
confusingly like a view issue), but is in and of itself a fundamentally
distinct character (clearly a model issue). But you'll run afoul of the
current state of German spelling rules, anyway. As I understand it, the
double-s is no longer used by forward-looking Germans.
It seems to me that I usually see a fundamentally different reason given in
favor of the MVC paradigm. More about avoiding various inconsistencies,
logic complications and reliability issues that tend to arise when data is
saved in user interface objects. It turns out to be easier in the long run
to keep your data pure if you save it off by itself in a model object, and
always (or almost always) derive your view from the current state of the
data in a sort of read-only manner that doesn't risk inadvertently altering
the data while displaying it. This is a way of avoiding the effects of
Heisenberg's uncertainty principle: observing the data may change it.
--
Bill Cheeseman - email@hidden
Who last studied German almost 40 years ago, with Frau Doktor Professor
Schmidt, and who thanks mmalcolm for enlivening an otherwise dull day. Hey,
mmalcolm, in case you run your own name through your UPPERCASE method,
what's the German character for double-m?
_______________________________________________
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.