Re: [Vala] Methods/ctors overloading



Abderrahim Kitouni escribió:
Hi,

2009/11/30 "Andrés G. Aragoneses" <knocte gmail com>:
Replying to myself:

Andrés G. Aragoneses escribió:
Hello. I'm wondering if the difference between Vala and C# wrt
method/ctor overloading is intentional or is its real support planned in
It's intentional, one of the main goals of vala is to have libraries
that can be used from C. So methods must have sensible names (i.e.
name mangling is not an option)

btw, Vala has named creation methods (a.k.a. named constructors) so
there is no need for overloading (Yes, it would be useful but not
necessary)

Useful but not necessary, I agree. So this is why, if I were to help
providing a patch for this, I would make ctor overloading an option, not
dropping support for named constructors. Would that be acceptable?

Thanks,

        Andres

-- 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]