Path: utzoo!telly!attcan!uunet!brunix!rca From: rca@cs.brown.edu (Ronald C.F. Antony) Newsgroups: comp.sys.next Subject: Re: Do you like large or small examples? Keywords: next examples Message-ID: <45648@brunix.UUCP> Date: 24 Jul 90 15:42:50 GMT References: <211@next.com> Sender: news@brunix.UUCP Reply-To: rca@cs.brown.edu (Ronald C.F. Antony) Organization: Brown University Department of Computer Science Lines: 23 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