Re: Blackbox Oberon in the real world
----boundary-LibPST-iamunique-1026453872_-_-
Content-type: text/plain
"Wijck, Bart van" wrote:
....
> All that would begin to address 4 out of Brett's 5 central criticisms,
> without a huge effort on behalf of anyone. Particularly the primer (which to
> my mind can contain useful stuff or references from the rest of the BlackBox
> universe too) would have a centralising function on how to do things instead
> of the more vague notion that somewhere there's a feature which might help
> (with due respect for Zinn's archive etc.).
Might I suggest a "Cookbook" format for the user primer
which has a *bottom up* presentation format. The document is broken
into sections (such as SECTION Files). Each section consists
of three parts starting from the specific and moving
toward the more general and abstract: EXAMPLE, DISCUSSION, ABSTRACTION.
The examples are code fragments that need to be embedded in modules
and procedures such as,
SECTION Files
EXAMPLE of opening an existing file:
IMPORT Files;
VAR file: Files.File; path, name: ARRAY 32 OF CHAR;
file := Files.dir.Old(Files.dir.This(path), name$, Files.shared);
DISCUSSION of example:
directories, Old, Locators, ...
ABSTRACT File handling
... (discusion of converters) ...
In this way a new user can program immediately from the examples without
first having to assimilate the whole abstract structure. With
experience
the need and generality of the abstractions will then become apparent
(or not if nothing more than the example forms are needed).
-Doug
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-1026453872_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2R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