Re: [Vala] removing an element from a list



On 09/01/2009 08:51 AM, Didier "Ptitjes" wrote:
Jiří Zárevúcky wrote:
If the dependency concerns you, you can simply copy the class you use
into your application. :) Vala compiler itself includes a copy of the
whole library.
Jiří, please, remember that Valac includes that code for bootstrap
reasons! Libgee is written in Vala. Vala compiler depends on libgee.
Libgee's code is only copied inside the Vala compiler code in order to
simplify the bootstrap process for packagers and distro maintainers.

Copying code inside your application would just give you some more
maintainance work to keep that in sync with the library. (Not to mention
the plethora of reasons that made us use libraries...)

Best regards, Didier.


Actually, if you just need a single class and never expect to need anything else, you may just as well copy it and save yourself a lot of trouble.
I agree that Vala's inclusion of Gee was not a good example here.




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