DEV Community

loading...

Discussion on: Vala Deserves a Closer Look

Collapse
nineh profile image
Nine

I really loved vala, I especially liked declaring properties with get and set methods in one line. But I eventually quit in frustration:

List types are defined three different ways in three different packages (the best ones are in libgee but they're not supported in Gtk) so you can't pass a reference to a libgee list to populate a listview widget (for example).

I kept getting c errors, valac frequently let bugs through to gcc which dutifully printed unintelligible complaints that bore little relation to my vala code: very scary when I was starting out.

I don't know if this is my fault, but I couldn't figure out how to have a static class member containing a list of all instances of the class to have static methods that operated on all instances of the class or considered all instances of the class, I couldn't find an example of this design pattern, and I don't know if it's a limitation of gobject or reference counting, but it made me sad.

Probably going to come back at some point, maybe when Gtk+4 drops.

Collapse
gavr123456789 profile image
gavr • Edited

I kept getting c errors, valac frequently let bugs through to gcc which dutifully printed unintelligible complaints that bore little relation to my vala code: very scary when I was starting out.

It looks like you tried Vala for a long time, I assure you now this is no longer there.

Second
What? Like this?
example