[asterisk-dev] [Code Review]: Add #includeif statement

Kevin P. Fleming kpfleming at digium.com
Thu Nov 3 07:26:44 CDT 2011


On 11/03/2011 02:57 AM, wdoekes wrote:
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1476/
>
>
>     On November 3rd, 2011, 2:49 a.m., *wdoekes* wrote:
>
>         As for the name -- I would've preferred #require vs. #include, but it's a bit late for that now ;)
>
>         The other options:
>
>         #sinclude +1
>         #tryinclude +.5
>         #includeif +0

I agree that 'tryinclude' is a better name. 'includeif' implies that 
there would be some sort of conditional logic supplied in the statement 
to decide whether the inclusion should occur or not.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list