Hi!
On Sat, Nov 1, 2008 at 11:50 PM, Maciej Piechotka <[EMAIL PROTECTED]> wrote:
> "Кутейников Дмитрий"
> <[EMAIL PROTECTED]> writes:
>
>>It would be great, if Vala could compile expressions like this:
>>var bob = new Person(login="Bob", password="hello",
>>email="[EMAIL PROTECTED]");
"Кутейников Дмитрий"
<[EMAIL PROTECTED]> writes:
>It would be great, if Vala could compile expressions like this:
>var bob = new Person(login="Bob", password="hello",
>email="[EMAIL PROTECTED]");
>Compiler may replace it with:
>var bob = new Person();
>bob.login = "Bob";
>
On Fri, 2008-10-31 at 12:16 -0700, Christian Hergert wrote:
> Anything against the following?
>
> new Person () {
> login = "Bob",
> password = "hello",
> email = "[EMAIL PROTECTED]"
> };
How much typings does it save you?
>
> Cheers,
>
> -- Christian
>
> 2008/10/31 Кутейников Дмит
Anything against the following?
new Person () {
login = "Bob",
password = "hello",
email = "[EMAIL PROTECTED]"
};
Cheers,
-- Christian
2008/10/31 Кутейников Дмитрий <[EMAIL PROTECTED]>
> It would be great, if Vala could compile expressions like this:
>
> *var bob = new Person(login
It would be great, if Vala could compile expressions like this:
*var bob = new Person(login="Bob", password="hello", email="[EMAIL
PROTECTED]");*
Compiler may replace it with:
var *bob = new Person();
bob.**login = "Bob";
**bob.password = "hello";
**bob.email = "[EMAIL PROTECTED]";*
___