comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: GNATCOLL JSON Parsing
Date: Tue, 4 Dec 2018 02:14:10 -0800 (PST)
Date: 2018-12-04T02:14:10-08:00	[thread overview]
Message-ID: <ae1bdf3e-8652-463c-a8dc-866607e33f99@googlegroups.com> (raw)
In-Reply-To: <d15874fb-a523-47e9-9cf1-6cffded319e1@googlegroups.com>

On Monday, December 3, 2018 at 9:48:59 PM UTC+1, Olivier Henley wrote:

> I do not believe in 90's doc, a la MySQL, where you have to read dozens and dozens of official doc to make a simple query or just to install it. No, what is proper doc these days, is hands-on toy demo. You build it, inspect a couple of files, you get the picture, c&p the basic code and expand from that. You can keep rolling.

IMHO, both (doc and demos) are necessary.
I elaborate a bit (experience gathered over years, including from more or less polite but mostly helpful feedback):

1) the demo tree in 2 layers:
1.1) a bunch of minimal toy demos (max 50 lines) and pointers to 1.2
1.2) a few larger applications (ideally, useful)

2) the doc tree in 3 layers:
2.1) readme, with a short summary and a pointer to 2.2
2.2) a larger doc in one file with build instructions and pointers to 2.3
2.3) technical documentation

The demos are crucial if you want to have people have any interest at your project.
Even in the 80's (so, before the Web and GitHub ;-) ), successful software had lots of demos.
The demos need to build and run out-of-the-box (or the author(s) need to explain very clearly what are the dependencies to other libraries).
The test process includes packaging the project, copying to another computer, unpack, build and run as if you (the author) were a newcomer - of course this is very difficult to do it yourself, but better than not trying it (there are some tricks to improve randomness in that phase)...

The demos show much of a project's health and portability - outside the computer it has been developed on!

Disclaimer: probably I forget to follow these rules. Feedback is always welcome...

  parent reply	other threads:[~2018-12-04 10:14 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-08  5:52 GNATCOLL JSON Parsing eduardsapotski
2018-06-08  9:35 ` Björn Lundin
2018-06-08 10:40 ` eduardsapotski
2018-06-08 12:00 ` Per Sandberg
2018-06-08 15:19 ` eduardsapotski
2018-06-08 15:26   ` Björn Lundin
2018-12-03 15:02   ` Olivier Henley
2018-12-03 18:06     ` Dmitry A. Kazakov
2018-12-03 18:45       ` Olivier Henley
2018-12-03 20:54         ` Dmitry A. Kazakov
2018-12-03 22:01           ` Olivier Henley
2018-12-03 18:06     ` briot.emmanuel
2018-12-03 19:12       ` Olivier Henley
2018-12-03 19:43         ` briot.emmanuel
2018-12-03 20:48           ` Olivier Henley
2018-12-03 20:56             ` Olivier Henley
2018-12-04  7:25             ` briot.emmanuel
2018-12-04 13:39               ` Olivier Henley
2018-12-04 10:14             ` gautier_niouzes [this message]
2018-12-04 13:47               ` Olivier Henley
2018-06-08 15:58 ` eduardsapotski
2018-06-08 16:35 ` eduardsapotski
2018-06-08 17:09   ` Björn Lundin
2018-06-09  4:33   ` gautier_niouzes
2018-11-27  6:22   ` Per Sandberg
2018-06-09  4:37 ` gautier_niouzes
2018-06-09  5:08 ` eduardsapotski
2018-06-09  5:31 ` eduardsapotski
2018-06-12  9:55   ` R Srinivasan
2018-06-09  5:35 ` eduardsapotski
2018-11-26  6:42 ` eduardsapotski
2018-11-26 10:17   ` Björn Lundin
2018-11-26 15:56     ` Simon Wright
2018-11-26 16:11       ` eduardsapotski
2018-11-26 18:01         ` Simon Wright
2018-11-26 20:32           ` Björn Lundin
2018-12-03 18:10   ` Simon Wright
2018-11-26 10:26 ` eduardsapotski
2018-11-26 10:50 ` eduardsapotski
2018-11-26 16:16 ` eduardsapotski
2018-11-27  1:47 ` eduardsapotski
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox