Re: [Vala] methods/properties missing for some integral data types



On 09/12/2013 19:56, Wolfgang Schlichtner wrote:
The table takes 67 columns in width, this shouldn't be a problem.

I know that the "problem" originates from GLib, but I think that there
should be guaranteed interface for the basic types of a language. For
the integral types just:
to_string(), clamp(), min(), max(), MIN, MAX
are there for all of them. Why not implement them (at least some) in
Vala regardless of GLib (or in GLib directly of course) ?
A bug has been already fixed regarding this issue by contributing a patch: https://bugzilla.gnome.org/show_bug.cgi?id=722067 Patches are always very welcome as you can see. Even better if the patches are as much cross platform as possible and are not invasive in this particular case, since doing a change now and breaking it afterwards (especially given it's not something provided by glib) is not nice to users.

Best regards,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]