Re: [Vala] Object constructors
- From: "Zeeshan Ali (Khattak)" <zeenix gmail com>
- To: "Maciej Piechotka" <uzytkownik2 gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Object constructors
- Date: Sun, 2 Nov 2008 03:26:02 +0200
Hi!
On Sat, Nov 1, 2008 at 11:50 PM, Maciej Piechotka <uzytkownik2 gmail com> wrote:
"Кутейников Дмитрий"
<kuteynikov gmail com> writes:
It would be great, if Vala could compile expressions like this:
var bob = new Person(login="Bob", password="hello",
email="me gmail com");
Compiler may replace it with:
var bob = new Person();
bob.login = "Bob";
bob.password = "hello";
bob.email = "me gmail com";
Jurg told me that he has plans for supporting named parameters at
some point but i guess that will come after vala supports var args?
--
Regards,
Zeeshan Ali (Khattak)
FSF member#5124
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]