On Wed, 4 Apr 2012, SamyGo wrote:

NOOP is just for fun no benefit aside from printing something for you info on CLI.

It's not fun, it's misleading. Especially if English is not your primary language.

The name is not obvious. The Wikipedia entry for 'noop' says a 'no operation' instruction should be 'nop,' not 'noop.'

Even the 'help' description is contradictory. It says 'this application does nothing' and then it describes what it does.

There's a perfectly obvious application specifically designed for console output. It's named 'verbose' and it has more features.

A 'best practice' would be to use the obvious application with the intended action instead of the obtuse application with the convenient side-effect.

A 'noop' does have it's place as a 'place holder' for another application or to make a syntactically valid place for a label. If that's your intent, use it.

Otherwise, 'raise the bar' in your dialplan coding skills and do the right thing. Type the extra 3 characters and make your intent clear. Isn't that one of the 'hallmarks' of a skilled programmer?

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to