On Wed, Sep 30, 2015 at 9:45 AM, Derek Foreman <der...@osg.samsung.com>
wrote:

>
> So you're in favour of not bothering to give a helper function in
> libwayland, and just expecting everyone to do their own thing?
>

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.
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to