[Dev] Objection to the new CPIA example
John Anderson
john at osafoundation.org
Mon Nov 7 13:43:44 PST 2005
Alec Flett wrote:
> Jared Rhine wrote:
>
>>"Real Chandler" examples should be separate from "hello worlds". Full
>>examples (like Java's example store) should be sparse, but show the full
>>framework needed to hook into the various bits (such as stamping).
>>
>>
>>
> While I appreciate the notion that a hello world should be quick and
> to the point, I think this particular way of adding a separate
> mechanism for the detail view that is never used beyond hello world,
> is about the equivalent of saying that the following code is a good
> "GTK" hello world example:
I think the ViewableKind approach is appropriate for an Item that you
don't intend to be stampable, or not display a detail view with the
stamping bar.
>
> main() {
> printf("Hello, world, from gtk!");
> }
>
> :)
>
> Alec
>
>>I suppose I favor having both, with an emphasis today on the shortest
>>example that can be made to do useful work. But I should be able to
>>"graduate" to a fully-stamped (or whatever else ViewableKind doesn't
>>give you) parcel via sample code tested and included in the 0.6 release.
>>
>>
>>
>
>>I would probably include ViewableKind in 0.6 if the full example is also
>>done and the shorter example is the only thing that uses ViewableKind.
>>Risk seems low in that case, even if ViewableKind has bugs. At least, I
>>would start with the ViewableKind model if it were offered and required
>>no patching.
>>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>>
>>Open Source Applications Foundation "Dev" mailing list
>>http://lists.osafoundation.org/mailman/listinfo/dev
>>
>>
>
>------------------------------------------------------------------------
>
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
>Open Source Applications Foundation "Dev" mailing list
>http://lists.osafoundation.org/mailman/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/dev/attachments/20051107/8534baf8/attachment.htm
More information about the Dev
mailing list