[Vala] Variable declaration.



Hey there, everyone.

Can I use type names (class names, actually) while declaring variables
or only the "var" keyword ?

If I can use the type names, what is the value of having the var
keyword ? Anything specific needs it ? Just asking because I think it
would be a pain in the neck to write some sort of code completion with
variables defined with "var" lots of checking to do to find out its
type.

Regards,
Alexandre Moreira.



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