[asterisk-dev] CLI: list vs show ? (Re: [asterisk-commits] oej: branch 1.4 r46216 - /branches/1.4/channels/chan_sip.c)

Michiel van Baak michiel at vanbaak.info
Wed Oct 25 14:58:58 MST 2006


On 14:01, Wed 25 Oct 06, Steve Edwards wrote:
> While on the subject of fuzzy and hate, I'm not a big fan of the new 
> command syntax. "Noun verb" just doesn't cut it for an old VMS C 
> programmer like me :)
> 
> Back in the day, it was a cardinal sin to name something "noun_verb()" 
> instead of the "right sounding" "verb_noun()."
> 
> Consider "user_delete()" versus "delete_user()." The first could be 
> misinterpreted as "a function that lets users delete things" whereas the 
> second seems obvious (to me) that it will "delete a user."
> 
> I know that's C, not English, but look at other command line parsers:
> 
> GDB:
> 	show args
> 
> MySQL:
> 	show tables
> 
> SQL*Plus:
> 	show user
> 
> What was the inspiration for changing the command syntax?

I'm confused by this as well. And I'm not a VMS guy or
anything (VMS is SO before I was born).
I'm reading up on asterisk code and stuff and found this
confusing as well. Thank god for doxygen ;)
-- 

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer afficionados are both called users?"



More information about the asterisk-dev mailing list