[asterisk-users] noun-verb vs verb-noun aka dogs black vs black dogs

Steve Edwards asterisk.org at sedwards.com
Wed Dec 19 18:03:30 CST 2007


On Wed, 19 Dec 2007, John Millican wrote:

>> On Wed, Dec 19, 2007 at 02:47:39PM -0800, Steve Edwards wrote:
>>> This only "works" because you are closed to the alternative. The
>>> alternative (verb-noun) works fine for the above referenced applications
>>> and many more. Do you want to "tally" the number of users of applications
>>> that use noun-verb instead of verb-noun? Is there a reason verb-noun
>>> works fine for them and not for us?

> In MY opinion, consistency is first and formost.  I can learn almost any
> command struture IF i put my mind to it and I want to do so.  What is hard
> for me is changing in mid stream. having said that I always liked a drill down
> structure.  Big idea first, followed by category of idea, followed by.. and
> so on till you get the the exact single item that you are looking for.  A US
> based example:
> show world north_america us state nh capitol
> Gives:
> Concord
> You could easily do :
> show world
> giving all the continents
> show world north_america
> giving all countries in North America
> and so on down the line.
> To ME and maybe only me, this make since, object world knows of continents,
> object continents knows of countries, object countries knows of state, object
> state knows of capitols.
> Easy for programmers, users and computers alike.
> again just my opinion.

Pretty darn close. Sometimes the "followed bys" precede the category.

So you could enter:

 	show channel <TAB>

and be presented with a list of all channels. Or you could enter:

 	show sip channel <TAB>

and be presented with a list of all SIP channels.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list