From: Foster T. B. <fbr...@ad...> - 2006-10-18 16:15:43
|
Hi Mat, On Oct 17, 2006, at 10:39p, Mat Marcus wrote: > Hi Foster, > > I think you already know my views on this, but I'll repeat them =20 > given that you initiated the wider discussion. First off, when I =20 > suggested that we might make use of the notion of a special state, =20 > the term that I used was "singular", not "singleton". As others =20 > pointed out, the two terms are not interchangeable. This was my mistake -- I stand corrected. > At first I was considering adding a hook to any_view providers a =20 > chance to install a "wrong type" handler. But I soon began to sort =20 > my ideas out, and I set this aside when Sean said he would consider =20= > adding type constraints to the model. I never intended for protocol =20= > relating to singular to live in any_view. I sketched my reasons =20 > after I noticed that you had added such code to any_view, (before =20 > asking you to remove it). I explained my resistance in a bit more =20 > detail, offering a rationale similar to the one Sean gave above, =20 > after noticing that you added it back to any_view again (before =20 > asking you to remove it a second time). Can you say more about why =20 > you keep aiming to get singular protocol into any_view, especially =20 > in a world where, say, types could be checked in the model and the =20 > concrete view can choose as specific or as general a =20 > view_model_type as they wish? Originally I didn't think the issue was settled, that there was a =20 viable example for when the model would have information in a cell =20 that an attached view would not be able to handle. After having this =20 discussion, though, I'm convinced there is no place for the singular =20 notion in the view concept. Blessings, Foster -- Foster T. Brereton <=E1=BC=B0=CF=87=CE=B8=CF=8D=CF=82>< = Romans =20 3:21-26 A d o b e S o f t w a r e T e c h n o l o g y L a b "What 99 percent of programmers need to know is not how to build =20 components but how to use them." -- Alexander Stepanov "Now we have very simple code and the meaning is perfectly clear. =20 Drink the Kool-Aid" -- Sean Parent |