<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 28, 2013 at 7:49 PM, Paul Belanger <span dir="ltr"><<a href="mailto:paul.belanger@polybeacon.com" target="_blank">paul.belanger@polybeacon.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Oct 22, 2013 at 12:03 PM, Matthew Jordan <<a href="mailto:mjordan@digium.com">mjordan@digium.com</a>> wrote:<br>
><br><br></div></blockquote><div><br></div><div style><snip></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
</div>To keep this thread going, I'm going to start work on a patch and I'll<br>
be using past tense for the events. Here are some examples of the<br>
syntax we use, what do people prefer:<br>
<br>
Started / Stopped<br>
- StasisStarted / StasisStopped<br>
- PlaybackStarted / PlaybackStopped<br>
<br>
Started / Ended<br>
- StasisStarted / StasisEnded<br>
- PlaybackStarted / PlaybackEnded<br>
<br>
Started / Finished<br>
- StasisStarted / StasisFinished<br>
- PlaybackStarted / PlaybackFinished<br>
<br>
Created / Destroyed<br>
- BridgeCreated / BridgeDestroyed<br>
- ChannelCreated / ChannelDestroyed<br>
<br>
Feedback welcome<br>
<div class="im HOEnZb"><br></div></blockquote><div> </div><div style>This isn't an all or nothing proposition. You can't pick "Stopped" as the only valid verb, than suppose that "ChannelStopped" is the same thing as "ChannelDestroyed". The two have vastly different semantic meanings - one implies stopping an ongoing action (in which case, is Channel an object or an operation?) - the other implies that an object's lifetime has ended and its resources reclaimed.</div>
<div style><br></div><div style>I'm not comfortable making unilateral rules such as this and applying them to any interface. If there are particular events that fail to convey their semantics given their current name that's worth having a discussion over; otherwise, I'm not sure I'd proceed with this change.</div>
<div style><br></div><div style>Matt</div></div><div><br></div>-- <br><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div>
<div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div></div>
</div></div>