[comp.sys.next] Do you like large or small examples?

surak@next.com (Jayson Adams) (07/24/90)

Hola,

Hey you developers, when it comes to example code, do you prefer large
examples such as Draw or small examples, and why?  Do you have a
preference?

__jayson  :-)
NeXT Developer Support Team
Jayson_Adams@next.com

rca@cs.brown.edu (Ronald C.F. Antony) (07/24/90)

In article <211@next.com> surak@next.com (Jayson Adams) writes:
>Hey you developers, when it comes to example code, do you prefer large
>examples such as Draw or small examples, and why?  Do you have a
>preference?

Actually I like both:

The small ones are nice to illustrate some special features or special
tricks.
Things are easier to find in small examples.
On the other hand examples like Draw show a lot more about program
structure and UI-design (e.g. how to register a window such that it
accepts an icon as a document. However it is much more difficult to
find what is really essential to a specific technique and what is only
there for cosmetic or other reasons.

Ronald

P.S. I'm in Europe at the moment, so typing is done more ofr less blind...
------------------------------------------------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one persists
in trying to adapt the world to himself. Therefore all progress depends on the
unreasonable man."  Bernhard Shaw | rca@cs.brown.edu or antony@browncog.bitnet