Since it appears that:

string a = "hello";
unowned string b = a;

and

string  a = "hello";
string *b = a;

are not exactly the same.


I would like to propose basically a symbolic alias for unowned, namely:

string  a = "hello";
string ^ b = a; //  equivalent for: unowned string b = a;

("^" is a symbol borrowed from the Pascal language)

I think it increases readability and it is faster to type.

Serge.
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to