Re: [Vala] Static local variable
- From: Joseph Montanez <jmontanez gorilla3d com>
- To: Jacques-Pascal Deplaix <jp deplaix gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Static local variable
- Date: Thu, 2 Jun 2011 17:59:34 -0700
He did answer your question:
- Jacques: "Why don't append it in the language specification."
- pancake: "it's out of the design principles of Vala"
On Thu, Jun 2, 2011 at 10:30 AM, Jacques-Pascal Deplaix
<jp deplaix gmail com> wrote:
Yes, but it's not my question...
That is: Why don't append it in the language specification.
On 02/06/2011 14:48, pancake wrote:
in short: 'static' in vala have different meaning than in C.
If you want to do this use a field from the container object of the given
class.
In order to do this (C-like static) we should define a new keyword like
'permanent', but
it just make things look wrong. And it's out of the design principles of
Vala.
On 06/02/11 12:19, Jacques-Pascal Deplaix wrote:
I have a question for a long time:
Why Vala don't support static keyword for a local variable ?
It would be really usefull !
C support static keyword as local variable. So,
Why valac don't "put" static keyword directly in C file ?
I don't know yet valac internal compilation code, so I can't patch it for
now...
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
--
Joseph Montanez
Web Developer
Gorilla3D
Design, Develop, Deploy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]