On Mon, Jan 21, 2008 at 07:34:12PM +0100, J?rg Billeter wrote:
> > > * Support conditional method compilation.
>
> [Conditional (condition = "CONDITION")]
> public void foo () { }
>
> This method will be ignored unless you pass -D CONDITION to valac.
>
Is this "condition" a real condition? or just a native #ifdef?
It is possible to create '#else'-like conditionals?
> > > * Add basic support for method pre- and postconditions.
>
> interface Foo {
> public abstract int bar (int x)
> requires (x > 0)
> ensures (result > 0);
> }
This is awesome :)
These kind of features can make vala perfect for learning programming
for university students (imho it's better than python or java to learn)
> > Anyone with short examples for the new language features among these?
Yup it does. But it will be better to have them in the wiki.
Thanks for this new release!
--pancake
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list