<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 30, 2015 at 9:45 AM, Derek Foreman <span dir="ltr"><<a href="mailto:derekf@osg.samsung.com" target="_blank">derekf@osg.samsung.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>So you're in favour of not bothering to give a helper function in<br>
libwayland, and just expecting everyone to do their own thing?<br></blockquote><div><br></div><div>I think so. Programmers want to know that it is a number, and not possibly some complex type that is expensive to store or copy. Adding helper functions hides this sort of information. It also gives strongly-typed languages a way to be inconsistent, some might think the serial should be a special type (so you can't pass a non-serial to the compare function), while others will think it better to let the user know it is a number.<br><br><br></div></div></div></div>