<p dir="ltr">I would really like to see this as well. I think it's a solid idea.</p>
<p dir="ltr">+1 from me. </p>
<p dir="ltr">-Jesse</p>
<p dir="ltr">--<br>
Jesse Gumm<br>
Owner, Sigma Star Systems<br>
414.940.4866 || <a href="http://sigma-star.com">sigma-star.com</a> || @jessegumm</p>
<div class="gmail_quote">On Sep 24, 2014 11:52 AM, "Loïc Hoguin" <<a href="mailto:essen@ninenines.eu">essen@ninenines.eu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I didn't get any reply on my previous question almost 2 years ago here: <a href="http://erlang.org/pipermail/erlang-questions/2013-January/071763.html" target="_blank">http://erlang.org/pipermail/<u></u>erlang-questions/2013-January/<u></u>071763.html</a><br>
<br>
So let me ask again, is there any plans for adding something like -optional_callback that would do the same as -callback except it would not require the callback to be defined? Basically Dialyzer would use it, and the compiler wouldn't fail if the callback is missing.<br>
<br>
As it stands now I am about to remove most -behavior in Cowboy because they're starting to make little sense because most callbacks become optional. The simplest handler type will have 3 possible callbacks, 2 being optional. The most complex handler type already has 20+ callbacks with only 1 required.<br>
<br>
Thanks for any reply.<br>
<br>
-- <br>
Loïc Hoguin<br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</blockquote></div>