[Opensim-dev] Command lines - use of hyphens and verb subject flipping
Justin Clark-Casey
jjustincc at googlemail.com
Thu Aug 29 22:40:08 UTC 2013
There is indeed a lot of inconsistency. Some of this is my fault. I'm still not sure whether verb-object is better
(e.g. send appearance) or object-verb (e.g. appearance send).
verb-object has the advantage of being more 'natural' in terms of English were order. It also enables similar commands
to be group (e.g. all show commands).
object-verb has the advantage of grouping all commands together by function (e.g. all appearance commands are in the
same place when you look at a command list instead of scattered).
Hyphenated commands, on the other hand, I would say should definitely become two words (e.g. "delete region" rather than
"delete-region"). This was agreed some time ago but not all commands were changed.
However, this may not be changed before release time. It takes more work than one might expect (e.g. deciding what to
do, changing docs, etc.) and I, for one, would rather concentrate on functionality bugs at this stage.
On 24/08/13 09:58, Ai Austin wrote:
> I note several inconsistencies in the use of "-" in OpenSim.exe command console command lines. I always seem to get
> this wrong. and
>
> create region ["region name"] <region_file.ini> - Create a new region.
>
> delete-region <name> - Delete a region from disk
>
> remove-region <name> - Remove a region from this simulator
>
> Can this have a tidy up ahead of any major release to help people? Perhaps the hyphen could even be optional where it
> makes sense so both formats work?
>
> And we have verb subject in most cases... and it is what one might expect in general...
>
> load iar
> save iar
>
> and yet we sometimes have the subject ahead of the verb as in
>
> terrain load
> terrain save
>
> so its the opposite way round to what one might expect.
>
>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
More information about the Opensim-dev
mailing list