* Comments on DCE RFC 42 (DCE Shell Spec)
@ 1993-06-11 21:11 Elizabeth Charnock
0 siblings, 0 replies; only message in thread
From: Elizabeth Charnock @ 1993-06-11 21:11 UTC (permalink / raw)
Several of us here at HP who are interested in DCE have
taken an in-depth look at the recent DCE Shell specification
put out by OSF in RFC 42.0. While there are a number of things
about this specification that greatly please us, there are also
a few points which concern us.
First, the part which we are especially pleased with is that
OSF is actively trying to make DCE more usable by attempting
to create a shell which would unify the different syntaxes and
semantics of the current DCE control programs which have
considerable inconsistencies among them.
However, in undertaking this effort, we feel that the OSF should
carefully consider how to make this new user interface - which is
in effect what DCE Shell is - as usable as possible within the
limitations of time, resources, etc. We agree with OSF's concern
about consistency between the various control programs of DCE, but
we are also concerned about the consistency of DCE with widespread
things such as Unix, and DCE-related products such as Encina from
Transarc.
The most significant issue that I have with the DCE Shell specification
is the <class> <operation> syntax it employs. Although, in theory,
a class need not necessarily be a class of *object* (as opposed to
a class of verb or action,) typically the word ordering in the
proposed DCE Shell syntax is object action: in other words:
cell configure
transaction abort
instead of
configure cell
abort transaction
I believe that this will be problematic for many users for the
following reasons:
1) Users will expect a verb object ordering because:
Unix commands work that way
MS-DOS commands work that way
Many other OS' and shells work that way
Spoken English works that way.
2) The syntax of most command line interfaces is really verb object
attribute. This corresponds to the grammar of English, which is a
usability feature for native English speakers, and an expectation
of foreign language speakers who use mostly products based on an
English syntax (such as Unix.) Starting the command with a verb followed
by an object makes it clear where the attributes (parameters) and any
adverbs (such as verbose, or -9 for kill in Unix,) appear.
But, if the ordering is different that standard English, the user can guess
less well what the correct ordering is.
3) I strongly suspect that users will form different mental models of
how many commands are necessary to perform a task, based upon the
word ordering. For example, in a compound task such as configure cell,
it is fairly clear with a verb object orderng that the user is
specifying a *task* which they wish to perform. On the other hand,
with the reverse word ordering (object verb) the standard object-
oriented reading would be to send the configure message to the object
type cell.
The question is, would most people presume that different things are
being performed as a result of the difference in word ordering. For
example, configure cell implies that a prompt for the various information
necessary to configure a cell may appear, or perhaps a dialog box in
a GUI, or a series of GUI forms. Does cell configure have the same implication?
How about help? Which is clearer:
help on configure cell
or
help on cell configure
And, if we want to provide a cell cloning capability (that is, take
all defaultable attributes of DCE Cell foo, and use them for DCE Cell
foobar,) which is clearer, and thus more likely to be actually used:
configure cell foo -like foobar
or
cell foo configure -like foobar
This problem gets worse as commands get more grammatically complex.
4) A class is not *necessarily* a linguistic noun. To the extent that
using a class operation syntax makes the linguistic consistency less,
users who use some commands only infrequently will have a less good chance
of remembering or guessing the right linguistic ordering for a given
command. If 3/4 of the classes are linguistic nouns such as ACL, the
user would have a 75% chance of guessing the correct word ordering for
a command. With a consistent verb object (or even object verb,) this
would be 100%.
4) Because users expect it, and because users would not be
using DCE in isolation of other products that do have a verb
object ordering, users would make errors based on incorrect
ordering. This may be a nit, but it is an irritating one.
5) The problem also extends to prepositions. For example,
verb-preposition concatenations such as addto in the DCE Shell. This type
of concatenation implies (perhaps) copyfrom moveto, etc.
It can be a slippery slope, IMHO. A related problem is
consistent abbreviation of attribute names. Consistency is
important, as it frees people from having to dive for the
documentation even if they mostly know what they need to do.
6) While standardizing the objects that DCE Shell knows about
is important (that is, the objects such as clearinghouse, ACL, etc
are known, and vendors such as HP can add new complex operations
for them,such as schedule, ) standardizing the verbs or actions is at least as
important from a users' perspective. The reason is this: if a whole
lot of people go off and independently build command line interfaces,
or other apps such as GUI's for DCE admin, it is highly likely that
everyone will call an ACL an ACL, a cell a cell, and so on. However
it is a lot less likely that my create, abort, etc, is the same as
someone else's, both in terms of semantics and word usage (for
example, is my abort your kill? Can we in fact use both?) Given
the heterogeneous nature of DCE, this kind of consistency between
platforms would be highly valuable to many users.
I know that there are some reasons for the OSF's syntax choice. Some
object-oriented programming languages do use object action quite well.
(However, a programming language is different from a command line
interface.) Also, there may be a belief that it is easier to
implement with object action, however, I think that that belief may be
incorrect, and at least should be more closely examined.
I don't mean to beat up too much on Howard Melman, who I think for
the most part did a very good job in writing the DCE Shell specification.
I am posting this message to generate discussion that may help us
all come to a better understanding and agreement of what the right
answer is.
I would be interested in hearing any responses, either to the
newsgroup, or just send me mail.
Thanks..
/ebc
Elizabeth Charnock
Hewlett Packard
ebc@cup.hp.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-06-11 21:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-06-11 21:11 Comments on DCE RFC 42 (DCE Shell Spec) Elizabeth Charnock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox