It's not for you at all(and won't solve anything), but take a look at this
example:
https://live.gnome.org/Vala/GStreamerSample
> Date: Sun, 19 Feb 2012 13:24:31 +0000
> Subject: Re: [Vala] Create an instance of a derived class, from a base class
> method
> From: blowb.
2012/2/19 Tal Hadad :
>
> I don't understand what is your purpose:
> I don't understand why you don't use constructors, or static methods.
I'd got myself in a bit of a mess inheriting singleton factory classes
and static properties/methodscoming from a C background, I get a
bit over-exciteable
I don't understand what is your purpose:
I don't understand why you don't use constructors, or static methods.
See, the type deceleration must be explicit at complication time.
However, if you don't want it, you can always use generics and the "dynamic"
word.
In simple words, as far as I know,