Vala: Gotchas, Tips and Tricks

后端 未结 9 1761
情书的邮戳
情书的邮戳 2021-01-30 13:04

As a programmer who is new to Vala, what is your number one piece of advice to someone who is new to the language?

9条回答
  •  甜味超标
    2021-01-30 13:35

    My #1 piece of advice is to learn about GObjects. They are the backbone of Vala's power and flexibility, and learning how to wrap various libraries with GObject gives your Vala programs access to everything c can link against (which is a lot!).

    Here are a few links that might be of interest:
    * http://library.gnome.org/devel/gobject/stable/
    * http://fosswire.com/post/2009/7/gobject-vala/
    * http://developer.gnome.org/doc/tutorials/#gobject
    * http://en.wikipedia.org/wiki/GObject

提交回复
热议问题