Re: [Vala] How to use Posix namespace



Like the "import" and "require" of python.

Python doesn't have a "require" directive! :P

Is this because of the "C# like language" limitation?


Yeah, sorry. I realised that in another post ^^
I just find it a usefull distinction. import and require

So, you are saying that not being able to use "import-alike" to avoid
--pkg is just to be able to use testing versions of a vapi?
Sorry for re-questioning.

As with vala tries to help people to use glib and C, glib tries to
help people to make good software which can work on multiple
platforms. I dont understand why do you say "This is a common sort of
complaint from people in the MSWindows camp". ¿Does it have anything
to do with it? But yes, i often try to make my software work on
windows, and if possible, on MAC too, which i dont have one.
In the windows case, with no good ide support for vala, you know that
it is tricky to get and setup the command line to finally get
something compiled. Vala could easily help in that scenario, and can
help people to compile software with double clic if posible.
Testing-vapis are for vala programmers, and there wont be any
difference for them.
if an import-alike imports the default pkg, but an --pkg command line
is issued, then the command-line should have preference.
Like if i "import gee" and default in path is 1.0, but i want to test
this with gee2.0 then "valac --pkg gee2.0 ..."

Also it could make easier things and standard to know what
vala-dependencies does it haves without reading the code.


But, of course, i am just starting to experiment with vala and genie
and i know that there are very good programmers behind it, and i
should trust them.

Cheers.
Diego



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