[Vala] Adding defer in vala?
- From: pancake <pancake youterm com>
- To: vala-list gnome org
- Subject: [Vala] Adding defer in vala?
- Date: Sat, 18 Dec 2010 11:46:33 +0100
Go adds a new keywordnamed 'defer' that schedules the execution of a statement until a return is perfiormed.
Something like.. I have to do x,y,z before leaving..
In vala we have a bit of automagic reference counting which can close filedescriptors or destroy objects
automatically.
Do you think that it would be good for vala to support 'defer'?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]